Skip to content

Commit c693dc8

Browse files
committed
fix(network): remove duplicate cleanup
1 parent c67428b commit c693dc8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/network.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,6 @@ int cloudsync_network_send_changes_internal (sqlite3_context *context, int argc,
715715
cloudsync_memory_free(blob);
716716
if (sent == false) {
717717
network_result_to_sqlite_error(context, res, "cloudsync_network_send_changes unable to upload BLOB changes to remote host.");
718-
network_result_cleanup(&res);
719718
return SQLITE_ERROR;
720719
}
721720

@@ -729,7 +728,6 @@ int cloudsync_network_send_changes_internal (sqlite3_context *context, int argc,
729728
res = network_receive_buffer(data, data->upload_endpoint, data->authentication, true, true, json_payload, CLOUDSYNC_HEADER_SQLITECLOUD);
730729
if (res.code != CLOUDSYNC_NETWORK_OK) {
731730
network_result_to_sqlite_error(context, res, "cloudsync_network_send_changes unable to notify BLOB upload to remote host.");
732-
network_result_cleanup(&res);
733731
return SQLITE_ERROR;
734732
}
735733

0 commit comments

Comments
 (0)