mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 14:36:01 +03:00
Fix memory leak in vio test.
This commit is contained in:
parent
f62366b2ed
commit
e8b4f4c5e1
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ START_TEST (check_csync_vio_readdir)
|
|||
dirent = csync_vio_readdir(csync, dh);
|
||||
fail_if(dirent == NULL, NULL);
|
||||
|
||||
csync_vio_file_stat_destroy(dirent);
|
||||
fail_unless(csync_vio_closedir(csync, dh) == 0, NULL);
|
||||
}
|
||||
END_TEST
|
||||
|
|
Loading…
Reference in a new issue