Commit cca04f5e authored by Matthias Clasen's avatar Matthias Clasen

tests: Fix memory leaks

These were showing up as errors from lsan.
parent a08172ea
......@@ -294,9 +294,9 @@ test_break (gconstpointer d)
g_test_fail ();
g_strfreev (lines);
g_free (diff);
}
g_free (diff);
g_string_free (dump, TRUE);
g_free (expected_file);
}
......
......@@ -277,9 +277,9 @@ test_itemize (gconstpointer d)
g_test_fail ();
g_strfreev (lines);
g_free (diff);
}
g_free (diff);
g_string_free (dump, TRUE);
g_free (expected_file);
}
......
......@@ -347,9 +347,9 @@ test_layout (gconstpointer d)
g_test_fail ();
g_strfreev (lines);
g_free (diff);
}
g_free (diff);
g_string_free (dump, TRUE);
g_free (expected_file);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment