testsuite: Fix leak

This commit is contained in:
Krzesimir Nowak 2019-05-21 17:36:00 +02:00 committed by Benjamin Otte
parent 9bbd489f06
commit 49d994ddc2
2 changed files with 3 additions and 0 deletions

View File

@ -101,6 +101,7 @@ diff_with_file (const char *file1,
return NULL;
}
g_object_unref (process);
g_bytes_unref (input);
return output;

View File

@ -90,6 +90,8 @@ diff_with_file (const char *file1,
return NULL;
}
g_object_unref (process);
return output;
}