summaryrefslogtreecommitdiff
path: root/tests/gvdb.c
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-07-09 13:01:03 -0400
committerRyan Lortie <desrt@desrt.ca>2012-07-09 13:01:03 -0400
commit27f10aa6d3889b0c41a47c69d998a2102cdc6e07 (patch)
treee9f47815f44946e4261f16313ab3ce1c58020c87 /tests/gvdb.c
parentcf31cc34f41ba2e70fd28e563f073898cad693be (diff)
downloaddconf-27f10aa6d3889b0c41a47c69d998a2102cdc6e07.tar.gz
tests/: fix some leaks in testcases
Diffstat (limited to 'tests/gvdb.c')
-rw-r--r--tests/gvdb.c3
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
{