mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-07 02:10:05 +00:00
Don't restore repo when failed to get head commit and fix a memory leak (#532)
This commit is contained in:
@@ -166,6 +166,7 @@ seaf_commit_free (SeafCommit *commit)
|
||||
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);
|
||||
if (commit->salt) g_free (commit->salt);
|
||||
g_free (commit->client_version);
|
||||
g_free (commit->magic);
|
||||
g_free (commit->random_key);
|
||||
|
Reference in New Issue
Block a user