1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-09 03:08:57 +00:00

Fix memory leak (#527)

This commit is contained in:
feiniks
2021-12-08 17:25:33 +08:00
committed by GitHub
parent 807867afb7
commit e2b3437710
4 changed files with 5 additions and 1 deletions

View File

@@ -165,6 +165,7 @@ seaf_commit_free (SeafCommit *commit)
if (commit->repo_name) g_free (commit->repo_name);
if (commit->repo_desc) g_free (commit->repo_desc);
if (commit->device_name) g_free (commit->device_name);
if (commit->repo_category) g_free (commit->repo_category);
g_free (commit->client_version);
g_free (commit->magic);
g_free (commit->random_key);