summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@codefactory.se>2003-02-13 20:34:13 +0000
committerAnders Carlsson <andersca@codefactory.se>2003-02-13 20:34:13 +0000
commit1bfced6e45f733328f2509695974be86fbf2bef2 (patch)
treea1257d05c430c1cfe87e225fea935299826de721 /test
parent2a751e51a7be07d48e4f9a25e90cad5d12ae0a61 (diff)
downloaddbus-1bfced6e45f733328f2509695974be86fbf2bef2.tar.gz
2003-02-13 Anders Carlsson <andersca@codefactory.se>
* dbus/dbus-message-builder.c: (_dbus_message_data_load): * dbus/dbus-message.c: (process_test_subdir): * test/break-loader.c: (find_breaks_based_on): Plug some memory leaks.
Diffstat (limited to 'test')
-rw-r--r--test/break-loader.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/break-loader.c b/test/break-loader.c
index 95ca808e..db9a14a1 100644
--- a/test/break-loader.c
+++ b/test/break-loader.c
@@ -173,10 +173,15 @@ try_mutated_data (const DBusString *data)
failures_this_iteration += 1;
+ _dbus_string_free (&filename);
+
return FALSE;
}
else
- return TRUE;
+ {
+ _dbus_string_free (&filename);
+ return TRUE;
+ }
}
_dbus_assert_not_reached ("should not be reached");