From: uranther Date: Fri, 26 Jun 2009 20:10:10 +0000 (-0400) Subject: Typo fix and warning of memory leaks X-Git-Url: http://git.maemo.org/git/?a=commitdiff_plain;h=44b81666875963b8f9aa184a03e54fbbe53197f4;p=uzbl-mobile Typo fix and warning of memory leaks --- diff --git a/uzbl.c b/uzbl.c index 5c0a530..5e76393 100644 --- a/uzbl.c +++ b/uzbl.c @@ -2068,7 +2068,7 @@ inject_handler_args(const gchar *actname, const gchar *origargs, const gchar *ne come become after the body of the script (in sh) or after the name of the command to execute (in spawn). i.e. sh becomes sh and - span becomes spawn . + spawn becomes spawn . The return value consist of two strings: the action (sh, ...) and its args. @@ -2076,6 +2076,7 @@ inject_handler_args(const gchar *actname, const gchar *origargs, const gchar *ne gets duplicated. */ GArray *rets = g_array_new(TRUE, FALSE, sizeof(gchar*)); + /* Arrr! Here be memory leaks */ gchar *actdup = g_strdup(actname); g_array_append_val(rets, actdup);