]> Dogcows Code - chaz/openbox/blobdiff - openbox/debug.c
if sm is disabled, there is nothing to shutdown, so don't go trying to free things...
[chaz/openbox] / openbox / debug.c
index b7f8e1f4cee14385ed2a623a182964d4a97b3b5e..4152c15ee0f973bc18fb0f34db7a366c244baa32 100644 (file)
@@ -28,12 +28,13 @@ void ob_debug_show_output(gboolean enable)
     show = enable;
 }
 
-void ob_debug(char *a, ...)
+void ob_debug(gchar *a, ...)
 {
     va_list vl;
 
     if (show) {
         va_start(vl, a);
         vfprintf(stderr, a, vl);
+        va_end(vl);
     }
 }
This page took 0.019823 seconds and 4 git commands to generate.