mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Bug 384901: leak in jsfile.c, patch by Robin Ehrlich, rehrlich@ubiqinc.com, r=mrbkap
This commit is contained in:
parent
8b94eb77fd
commit
5eb2ffa8b3
@ -470,6 +470,7 @@ js_canonicalPath(JSContext *cx, char *oldpath)
|
||||
tmp = js_absolutePath(cx, path);
|
||||
if (!tmp)
|
||||
return NULL;
|
||||
JS_free(cx, path);
|
||||
path = tmp;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user