diff options
author | Andrew Potter <agpotter@gmail.com> | 2011-02-16 12:02:03 -0800 |
---|---|---|
committer | Andrew Potter <agpotter@gmail.com> | 2011-02-16 12:02:03 -0800 |
commit | 563e8c03721d9721dc5bdccd9faef6a23f677833 (patch) | |
tree | cfce495c58c2d9af46aa8d4dbdb96791ef718236 /src | |
parent | 334499e2d3f7f62cc19a8b97028d556d7d1441b3 (diff) |
Fix use after free()
Diffstat (limited to 'src')
-rw-r--r-- | src/imlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imlib.c b/src/imlib.c index 92c196a..2460924 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -291,8 +291,8 @@ char *feh_http_load_image(char *url) return sfn; } else { weprintf("open url: fdopen failed:"); - free(sfn); unlink(sfn); + free(sfn); close(fd); } } else { |