Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment