Hi,
I added a new bug to the BTS. Is only about the code, no a real bug:
Some functions malloc an free are used. These functions should be replaced
(always?) by wmalloc and wfree. Are here:
appmenu.c: if (!(data = malloc(sizeof(WAppMenuData)))) {
dialog.c:#include <malloc.h>
dock.c: args = malloc(sizeof(char *) * (argc + 1));
event.c: handler = malloc(sizeof(DeathHandler));
geomview.c: gview = malloc(sizeof(WGeometryView));
main.c: wVisualID = (int *)malloc(wVisualID_len * sizeof(int));
main.c: char **a = (char **) malloc(argc + 1);
misc.c: out = malloc(olen);
properties.c: *attr = malloc(sizeof(GNUstepWMAttributes));
properties.c: tmp = malloc(image->width * image->height * 4 + 4);
rootmenu.c: buffer = malloc(strlen(path[i]) + strlen(dentry->d_name) + 4);
rootmenu.c: buffer = malloc(length);
rootmenu.c: buffer = malloc(length);
session.c: args = malloc(sizeof(char *) * (argc + 1));
superfluous.c: AppBouncerData *data = (AppBouncerData
*)malloc(sizeof(AppBouncerData));
window.c: urec = malloc(sizeof(XRectangle) * (count + 2));
window.c: wstate = malloc(sizeof(WWindowState));
appmenu.c: free(data);
dock.c: free(wm_class);
dock.c: free(wm_instance);
main.c: free(mystr);
rootmenu.c: free(buffer);
session.c: free(instance);
session.c: free(class);
superfluous.c: free(data);
switchpanel.c: free(ntitle);
window.c: free(instance);
window.c: free(class);
window.c: free(instance);
window.c: free(class);
Is here: https://kix.es/mantis/view.php?id=2
Regards,
kix
--
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/
--
To unsubscribe, send mail to [email protected].