validateflow: Fix double-free on stdout
authorCharlie Turner <cturner@igalia.com>
Mon, 18 Feb 2019 11:05:26 +0000 (11:05 +0000)
committerCharlie Turner <cturner@igalia.com>
Mon, 18 Feb 2019 11:05:26 +0000 (11:05 +0000)
validate/plugins/flow/gstvalidateflow.c

index 706d552..3c27954 100644 (file)
@@ -311,7 +311,7 @@ run_diff (const gchar * expected_file, const gchar * actual_file)
   }
 
   g_object_unref (process);
-  g_free (stdout);
+  g_free (stdout_text);
 }
 
 static const gchar *