All pastes #134328 Raw Edit

Someone

public text v1 · immutable
#134328 ·published 2006-08-16 10:32 UTC
rendered paste body
--- opensync/opensync_db.c      (revision 1167)
+++ opensync/opensync_db.c      (working copy)
@@ -188,6 +188,7 @@
        if (sqlite3_exec(sdb, query, NULL, NULL, NULL) != SQLITE_OK) {
                osync_error_set(error, OSYNC_ERROR_PARAMETER, "Unable to remove log! %s", sqlite3_errmsg(sdb));
                g_free(query);
+               osync_db_close(log_db);
                osync_trace(TRACE_EXIT_ERROR, "%s: %s", __func__, osync_error_print(error));
                return FALSE;
        }