]> granicus.if.org Git - graphviz/commitdiff
partial fix for gvpack segfault
authorJohn Ellson <ellson@research.att.com>
Wed, 27 Nov 2013 13:55:25 +0000 (08:55 -0500)
committerJohn Ellson <ellson@research.att.com>
Wed, 27 Nov 2013 13:55:25 +0000 (08:55 -0500)
cmd/tools/gvpack.c

index d44a8f181d57d96bd804bbd7806239a41338f747..91d7e44cd9e33bde1b3c0d2b1467f2e107eccb3c 100644 (file)
@@ -878,6 +878,7 @@ int main(int argc, char *argv[])
     doPack = (pinfo.mode != l_undef);
 
     gvc = gvNEWcontext(lt_preloaded_symbols, DEMAND_LOADING);
+    gvconfig(gvc, FALSE); /* configure for available plugins */
     gs = readGraphs(&cnt, gvc);
     if (cnt == 0)
        exit(0);