diff options
| author | Tristan Riehs <tristan.riehs@inria.fr> | 2026-08-03 09:50:22 +0200 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@inria.fr> | 2026-08-03 09:50:22 +0200 |
| commit | a3ac14b64a71ef77d85d6c846f7546c1af4b5533 (patch) | |
| tree | ac2dd501f49d0ae47ac734d408f514f7dc9db3d9 | |
| parent | d998285b43c0a9f6ab2cf30c6b91ff493bcf7ce6 (diff) | |
Fix a memory leak
| -rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -387,6 +387,7 @@ ftag_add_one_file(sqlite3 *db, int *next_id, const char *file, uint32_t file_sum if (input[0] != '\0') { date = time_from_str(input); } + free(input); char extension[16]; /* Find the position of the last dot character in file name. If found, |
