about summary refs log tree commit diff stats
path: root/tests/log
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-06-27 00:38:53 +0100
committerJames Booth <boothj5@gmail.com>2014-06-27 00:38:53 +0100
commit186cac34deb9f1469d5d2719b5a5746ff26156e2 (patch)
tree885dea0b0a4afa0d2fcf9297c1bde5a7bc3c2719 /tests/log
parentc98ce4299de670dd5d270308bf7137ea05d9c763 (diff)
downloadprofani-tty-186cac34deb9f1469d5d2719b5a5746ff26156e2.tar.gz
Fixed memleak in chat log history
Diffstat (limited to 'tests/log')
-rw-r--r--tests/log/mock_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/log/mock_log.c b/tests/log/mock_log.c
index d423b5bb..8ace164a 100644
--- a/tests/log/mock_log.c
+++ b/tests/log/mock_log.c
@@ -54,7 +54,7 @@ void chat_log_chat(const gchar * const login, gchar *other,
     const gchar * const msg, chat_log_direction_t direction, GTimeVal *tv_stamp) {}
 void chat_log_close(void) {}
 GSList * chat_log_get_previous(const gchar * const login,
-    const gchar * const recipient, GSList *history)
+    const gchar * const recipient)
 {
     return mock_ptr_type(GSList *);
 }