Mercurial > pidgin
comparison libpurple/account.c @ 22108:e21cdaffbcdb
Plug a small leak.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 14 Jan 2008 19:42:14 +0000 |
parents | 658785fe1992 |
children | 4af9179e33df |
comparison
equal
deleted
inserted
replaced
22107:bfe1854bbf87 | 22108:e21cdaffbcdb |
---|---|
750 if (description == NULL) | 750 if (description == NULL) |
751 description = g_strdup(""); | 751 description = g_strdup(""); |
752 | 752 |
753 current_error = g_new0(PurpleConnectionErrorInfo, 1); | 753 current_error = g_new0(PurpleConnectionErrorInfo, 1); |
754 current_error->type = type; | 754 current_error->type = type; |
755 current_error->description = g_strdup(description); | 755 current_error->description = description; |
756 | 756 |
757 set_current_error(account, current_error); | 757 set_current_error(account, current_error); |
758 } | 758 } |
759 | 759 |
760 static PurpleAccount * | 760 static PurpleAccount * |