mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-24 08:36:55 +01:00
- Fixed small memory leak in the WINGs' font panel code.
- Fixed call to qsort in WMSortArray. - Fixed a memleak in the WINGs' file panel.
This commit is contained in:
1 parent
5f79f1bcde
commit
f058fdf72c
36 files changed
+54
-78
No files matched your search
+4
-1
@@ -548,12 +548,15 @@ listDirectoryOnColumn(WMFilePanel *panel, int column, char *path)
|
||||
DIR *dir;
|
||||
struct stat stat_buf;
|
||||
char pbuf[PATH_MAX+16];
|
||||
char *name;
|
||||
|
||||
assert(column >= 0);
|
||||
assert(path != NULL);
|
||||
|
||||
/* put directory name in the title */
|
||||
WMSetBrowserColumnTitle(bPtr, column, get_name_from_path(path));
|
||||
name = get_name_from_path(path);
|
||||
WMSetBrowserColumnTitle(bPtr, column, name);
|
||||
wfree(name);
|
||||
|
||||
dir = opendir(path);
|
||||
|
||||
|
||||
Reference in new issue
Block a user