diff options
Diffstat (limited to '')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 7d9c7fe..b6e4cd0 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -2474,7 +2474,6 @@ HTMLfile *checkHTMLcache(char *file) | |||
2474 | if (-1 == fd) | 2474 | if (-1 == fd) |
2475 | { | 2475 | { |
2476 | HTMLfileCache->remove(HTMLfileCache, file); | 2476 | HTMLfileCache->remove(HTMLfileCache, file); |
2477 | free(ret); | ||
2478 | ret = NULL; | 2477 | ret = NULL; |
2479 | } | 2478 | } |
2480 | else | 2479 | else |
@@ -2483,7 +2482,6 @@ HTMLfile *checkHTMLcache(char *file) | |||
2483 | if (fstat(fd, &sb) == -1) | 2482 | if (fstat(fd, &sb) == -1) |
2484 | { | 2483 | { |
2485 | HTMLfileCache->remove(HTMLfileCache, file); | 2484 | HTMLfileCache->remove(HTMLfileCache, file); |
2486 | free(ret); | ||
2487 | ret = NULL; | 2485 | ret = NULL; |
2488 | E("Failed to stat %s", file); | 2486 | E("Failed to stat %s", file); |
2489 | } | 2487 | } |
@@ -2492,7 +2490,6 @@ HTMLfile *checkHTMLcache(char *file) | |||
2492 | if ((NULL != ret) && (ret->last.tv_sec < sb.st_mtim.tv_sec)) | 2490 | if ((NULL != ret) && (ret->last.tv_sec < sb.st_mtim.tv_sec)) |
2493 | { | 2491 | { |
2494 | HTMLfileCache->remove(HTMLfileCache, file); | 2492 | HTMLfileCache->remove(HTMLfileCache, file); |
2495 | free(ret); | ||
2496 | ret = NULL; | 2493 | ret = NULL; |
2497 | } | 2494 | } |
2498 | 2495 | ||