Mercurial > pidgin
changeset 28173:f7bb03f0518e
La la la, oops. HanzZ pointed this (leak) out.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Wed, 02 Sep 2009 14:32:44 +0000 |
parents | 07718e5eb8ce |
children | 6081a0393d92 |
files | libpurple/blist.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/blist.c Wed Sep 02 03:17:25 2009 +0000 +++ b/libpurple/blist.c Wed Sep 02 14:32:44 2009 +0000 @@ -1118,7 +1118,7 @@ old_alias = buddy->alias; if ((new_alias != NULL) && (*new_alias != '\0')) - buddy->alias = g_strdup(alias); + buddy->alias = new_alias; else { buddy->alias = NULL; g_free(new_alias); /* could be "\0" */