gstfunnel: avoid access of freed pad
[platform/upstream/gstreamer.git] / gst / gstdebugutils.c
index 8e31bde..e67a77c 100644 (file)
@@ -54,7 +54,7 @@
 
 /*** PIPELINE GRAPHS **********************************************************/
 
-const gchar *priv_gst_dump_dot_dir;     /* NULL *//* set from gst.c */
+extern const gchar *priv_gst_dump_dot_dir;      /* NULL *//* set from gst.c */
 
 const gchar spaces[] = {
   "                                "    /* 32 */