Now I'm fixing my own memory leaks...
authoruranther <jwheaton@purdue.edu>
Sat, 27 Jun 2009 01:26:11 +0000 (21:26 -0400)
committeruranther <jwheaton@purdue.edu>
Sat, 27 Jun 2009 01:26:11 +0000 (21:26 -0400)
uzbl.c

diff --git a/uzbl.c b/uzbl.c
index 5e76393..af0fbeb 100644 (file)
--- a/uzbl.c
+++ b/uzbl.c
@@ -589,8 +589,8 @@ log_history_cb () {
        /* no need to wrap this string with quotes since it contains no spaces.
           format is like: 2009-06-26T20:02:05.262864Z */
        date = g_time_val_to_iso8601(&the_time);
-
        run_handler(uzbl.behave.history_handler, date);
+       g_free(date);
    }
 }