soc.2009.vulture: 9e122437: Fix leak.
gdick at soc.pidgin.im
gdick at soc.pidgin.im
Fri Jun 26 16:30:42 EDT 2009
-----------------------------------------------------------------
Revision: 9e1224372ee566c97b3c46352accbcee1702e309
Ancestor: cba56919e816168a252fcdc98658d81d7e487987
Author: gdick at soc.pidgin.im
Date: 2009-06-26T14:49:05
Branch: im.pidgin.soc.2009.vulture
URL: http://d.pidgin.im/viewmtn/revision/info/9e1224372ee566c97b3c46352accbcee1702e309
Modified files:
vulture/vultureconv.c
ChangeLog:
Fix leak.
-------------- next part --------------
============================================================
--- vulture/vultureconv.c de0dde4bf7380ff07939c3ad4318eb7c96ac711c
+++ vulture/vultureconv.c c8e10dad505196c14a2cc38c39b92a8fe1908906
@@ -180,6 +180,7 @@ static LRESULT CALLBACK ConvContainerWnd
vcgt.lpvconv = lpvconv;
VultureSingleSyncPurpleCall(PC_CONVGETTITLE, &vcgt);
SetConvTitle(lpvconv, hwndTabs, vcgt.szTitle ? vcgt.szTitle : TEXT(""));
+ if(vcgt.szTitle) g_free(vcgt.szTitle);
/* Only strictly necessary if we're the only
* tab.
@@ -232,6 +233,7 @@ static LRESULT CALLBACK ConvContainerWnd
vcgt.lpvconv = lpvcchanged->lpvconv;
VultureSingleSyncPurpleCall(PC_CONVGETTITLE, &vcgt);
SetConvTitle(lpvcchanged->lpvconv, hwndTabs, vcgt.szTitle ? vcgt.szTitle : TEXT(""));
+ if(vcgt.szTitle) g_free(vcgt.szTitle);
}
break;
More information about the Commits
mailing list