mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-25 13:55:47 +03:00
Free the memory for the MD5 string.
This commit is contained in:
parent
97a7e46595
commit
e9cf546818
1 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,9 @@ void csync_vio_file_stat_destroy(csync_vio_file_stat_t *file_stat) {
|
|||
if (file_stat->fields == CSYNC_VIO_FILE_STAT_FIELDS_CHECKSUM) {
|
||||
SAFE_FREE(file_stat->u.checksum);
|
||||
}
|
||||
|
||||
if (file_stat->fields == CSYNC_VIO_FILE_STAT_FIELDS_MD5) {
|
||||
SAFE_FREE(file_stat->md5);
|
||||
}
|
||||
SAFE_FREE(file_stat->name);
|
||||
SAFE_FREE(file_stat);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue