Commit 40d490ee authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

*tried adding scalehandle_free to the canvas_free class but is currently...

*tried adding scalehandle_free to the canvas_free class but is currently commented out until we figure out why is this causing a segfault...
parent f101ebf6
......@@ -889,6 +889,14 @@ void canvas_free(t_canvas *x)
canvas_vis(x, 0);
if (x->gl_editor)
canvas_destroy_editor(x); /* bug workaround; should already be gone*/
/*
if (x-> x_handle)
scalehandle_free(x->x_handle);
if (x-> x_mhandle)
scalehandle_free(x->x_mhandle);
*/
canvas_unbind(x);
if (x->gl_env)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment