diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-07-09 13:01:03 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-07-09 13:01:03 -0400 |
commit | 27f10aa6d3889b0c41a47c69d998a2102cdc6e07 (patch) | |
tree | e9f47815f44946e4261f16313ab3ce1c58020c87 /tests/gvdb.c | |
parent | cf31cc34f41ba2e70fd28e563f073898cad693be (diff) | |
download | dconf-27f10aa6d3889b0c41a47c69d998a2102cdc6e07.tar.gz |
tests/: fix some leaks in testcases
Diffstat (limited to 'tests/gvdb.c')
-rw-r--r-- | tests/gvdb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gvdb.c b/tests/gvdb.c index 47b2b51..5ea91f0 100644 --- a/tests/gvdb.c +++ b/tests/gvdb.c @@ -333,6 +333,7 @@ test_nested (void) g_assert (has); gvdb_table_unref (table); + gvdb_table_unref (locks); } /* This function exercises the API against @table but does not do any @@ -452,6 +453,8 @@ test_corrupted (gconstpointer user_data) g_clear_error (&error); } } + + g_free (copy); } else { |