mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Check return value of result and free it.
This commit is contained in:
parent
f2145a0e92
commit
8ffce13e0e
@ -281,6 +281,11 @@ int csync_journal_insert_metadata(CSYNC *ctx) {
|
||||
}
|
||||
|
||||
result = csync_journal_query(ctx, "DROP TABLE metadata_temp;");
|
||||
if (result == NULL) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
c_strlist_destroy(result);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user