changeset 15920:f33506aa71af

Fix a one time memleak of 24 bytes. purple_log_init() was passing in 3 PurpleValues but it only stated that it was passing in 2 values. So the signals system ignored the third value.
author Mark Doliner <mark@kingant.net>
date Sun, 25 Mar 2007 07:20:01 +0000
parents 26593bef6568
children 6a5089fafd19
files libpurple/log.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/log.c	Sun Mar 25 07:07:29 2007 +0000
+++ b/libpurple/log.c	Sun Mar 25 07:20:01 2007 +0000
@@ -638,7 +638,7 @@
 #else
 #error Unknown size of time_t
 #endif
-	                     purple_value_new(PURPLE_TYPE_STRING), 2,
+	                     purple_value_new(PURPLE_TYPE_STRING), 3,
 	                     purple_value_new(PURPLE_TYPE_SUBTYPE,
 	                                    PURPLE_SUBTYPE_LOG),
 #if SIZEOF_TIME_T == 4