forked from AuroraMiddleware/gtk
testsuite: Fix leak
This commit is contained in:
parent
9bbd489f06
commit
49d994ddc2
@ -101,6 +101,7 @@ diff_with_file (const char *file1,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_object_unref (process);
|
||||||
g_bytes_unref (input);
|
g_bytes_unref (input);
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
|
@ -90,6 +90,8 @@ diff_with_file (const char *file1,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_object_unref (process);
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user