Commit 0022f982 authored by Michael Muré's avatar Michael Muré

gegl-dot: fix memory leak

parent c9933a73
......@@ -350,4 +350,5 @@ gegl_dot_node_to_png (GeglNode *node,
dot_cmd = g_strdup_printf ("dot -o %s -Tpng %s", png_path, dot_filename);
if (system (dot_cmd) == -1)
g_warning ("Error executing GraphViz dot program");
g_free (dot_cmd);
}
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