Mercurial > pidgin
changeset 17737:192be492ce25
Plug a possible memory leak.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 22 May 2007 06:04:41 +0000 |
parents | c9a046a7f326 |
children | 1724f68245af |
files | libpurple/conversation.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/conversation.c Tue May 22 06:03:42 2007 +0000 +++ b/libpurple/conversation.c Tue May 22 06:04:41 2007 +0000 @@ -2009,6 +2009,7 @@ char *mark = (markup && *markup) ? NULL : g_markup_escape_text(cmdline, -1), *err = NULL; PurpleCmdStatus status = purple_cmd_do_command(conv, cmdline, mark ? mark : markup, error ? error : &err); g_free(mark); + g_free(err); return (status == PURPLE_CMD_STATUS_OK); }