]> granicus.if.org Git - graphviz/commitdiff
fix errors from 'dot -P'
authorJohn Ellson <ellson@research.att.com>
Tue, 17 Sep 2013 19:10:05 +0000 (15:10 -0400)
committerJohn Ellson <ellson@research.att.com>
Tue, 17 Sep 2013 19:10:05 +0000 (15:10 -0400)
lib/gvc/gvplugin.c

index 817055315ef667ed477f001144321ad7ff39be20..66b099d5943ac4a00f938d303026865d77b3af57 100644 (file)
@@ -670,7 +670,7 @@ Agraph_t * gvplugin_graph(GVC_t * gvc)
 #ifndef WITH_CGRAPH
                agdelete(ssg->meta_node->graph, ssg->meta_node);
 #else
-               agdelete(g, ssg);
+               agdelete(sg, ssg);
 #endif
        }
     }