author | francesco-ST <francesco.abbate@st.com> | 2010年08月03日 16:16:05 +0200 |
---|---|---|
committer | francesco-ST <francesco.abbate@st.com> | 2010年08月03日 16:16:05 +0200 |
commit | 481e84cfa6cd828a5b3ab1c5af8bd8c598192783 (patch) | |
tree | 0276ef327f44c8deb5778391cd5d7be9209b42fb /agg-plot/lua-draw.cpp | |
parent | 988797d0f078c58d0dd15cc6c3d2c59640bbcf58 (diff) | |
download | gsl-shell-481e84cfa6cd828a5b3ab1c5af8bd8c598192783.tar.gz |
-rw-r--r-- | agg-plot/lua-draw.cpp | 3 |
diff --git a/agg-plot/lua-draw.cpp b/agg-plot/lua-draw.cpp index 812cb43e..f70a181f 100644 --- a/agg-plot/lua-draw.cpp +++ b/agg-plot/lua-draw.cpp @@ -141,6 +141,7 @@ agg_path_free (lua_State *L) { typedef draw::path path_type; path_type *path = check_agg_path (L, 1); + printf("Deallocating path: %p\n", (void *) path); path->~path_type(); return 0; } @@ -406,8 +407,6 @@ draw_register (lua_State *L) { pthread_mutex_init (agg_mutex, NULL); - markers::init(); - luaL_newmetatable (L, GS_METATABLE(GS_DRAW_PATH)); luaL_register (L, NULL, agg_path_methods); lua_pop (L, 1); |