summaryrefslogtreecommitdiff
path: root/tests/mainloop-test.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-10-14 19:33:37 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-10-14 19:33:37 +0000
commit27dc698317b2a1c049cd45fbc123cae96cdf82ca (patch)
treecfcad6cb398bf85d5a34c16fd03df7e971282dab /tests/mainloop-test.c
parentc359153dfdd8e360cc6dda34a2c4beb3c7a191b3 (diff)
Fix a minor memory leak.
Mon Oct 14 15:32:14 2002 Owen Taylor <otaylor@redhat.com> * tests/mainloop-test.c (adder_response): Fix a minor memory leak.
Diffstat (limited to 'tests/mainloop-test.c')
-rw-r--r--tests/mainloop-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mainloop-test.c b/tests/mainloop-test.c
index d407c530e..c8dec1e4b 100644
--- a/tests/mainloop-test.c
+++ b/tests/mainloop-test.c
@@ -247,6 +247,8 @@ adder_response (GIOChannel *source,
g_io_channel_unref (source);
g_io_channel_unref (test_data->in);
+
+ g_free (test_data);
return FALSE;
}