Bug #35 » gwen-memleaks.patch
| plugins/configmgr/dir/cfgdir.c | ||
|---|---|---|
|
return rv;
|
||
|
}
|
||
|
GWEN_Buffer_free(nbuf);
|
||
|
return 0;
|
||
|
}
|
||
| src/gui/dlg_input.c | ||
|---|---|---|
|
xdlg=(GWEN_DLGINPUT *) p;
|
||
|
if (xdlg->response) {
|
||
|
memset(xdlg->response, 0, strlen(xdlg->response));
|
||
|
//memset(xdlg->response, 0, strlen(xdlg->response));
|
||
|
free(xdlg->response);
|
||
|
xdlg->response=NULL;
|
||
|
}
|
||
|
free(xdlg->title);
|
||
| ... | ... | |
|
assert(dbParams);
|
||
|
if (xdlg->response) {
|
||
|
memset(xdlg->response, 0, strlen(xdlg->response));
|
||
|
//memset(xdlg->response, 0, strlen(xdlg->response));
|
||
|
free(xdlg->response);
|
||
|
xdlg->response=NULL;
|
||
|
}
|
||
| src/gui/dlg_progress.c | ||
|---|---|---|
|
GWEN_Dialog_SetCharProperty(dlg, "logText", GWEN_DialogProperty_Value, 0,
|
||
|
GWEN_Buffer_GetStart(tbuf), 0);
|
||
|
GWEN_Buffer_free(tbuf);
|
||
|
if(ti)
|
||
|
GWEN_Time_free(ti);
|
||
|
}
|
||
| src/gui/widget.c | ||
|---|---|---|
|
else if (strcasecmp(wstart, "noWordWrap")==0)
|
||
|
fl|=GWEN_WIDGET_FLAGS_NO_WORDWRAP;
|
||
|
}
|
||
|
if(copy)
|
||
|
free(copy);
|
||
|
}
|
||
|
return fl;
|
||