projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
override: Fix leaks in test
[platform/upstream/glib.git]
/
tests
/
gobject
/
override.c
diff --git
a/tests/gobject/override.c
b/tests/gobject/override.c
index
95b4023
..
47702d7
100644
(file)
--- a/
tests/gobject/override.c
+++ b/
tests/gobject/override.c
@@
-374,6
+374,8
@@
test (GType type,
if (strcmp (ret, expected_retval) != 0)
failed = TRUE;
+
+ g_free (ret);
}
#ifndef VERBOSE
@@
-392,6
+394,7
@@
test (GType type,
}
g_string_free (test_string, TRUE);
+ g_object_unref (self);
}
int