Fix: bt_common_string_until(): reset returned variable on error
[babeltrace.git] / src / common / common.c
index 404357a38beed46ebf55e086c17542c14cdf3e3a..b2b76cde1c0ec17107c45bef72151a4d9d91c51a 100644 (file)
@@ -512,6 +512,7 @@ set_end_pos:
 error:
        if (output) {
                g_string_free(output, TRUE);
+               output = NULL;
        }
 
 end:
This page took 0.026244 seconds and 4 git commands to generate.