mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-27 04:42:56 +03:00
Make filename_from_path() compile.
svn path=/trunk/netsurf/; revision=10264
This commit is contained in:
parent
51d619ad4d
commit
65b3dd18e3
@ -2457,7 +2457,7 @@ char *filename_from_path(char *path)
|
||||
leafname = malloc(leaflen + 1);
|
||||
if (!leafname) {
|
||||
LOG(("malloc failed"));
|
||||
continue;
|
||||
return NULL;
|
||||
}
|
||||
memcpy(leafname, temp, leaflen + 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user