The attached patch fixes a memory leak in the sqlite provider. It is
based on the release-3.0-branch code.
Phil
Index: providers/sqlite/gda-sqlite-provider.c
===================================================================
--- providers/sqlite/gda-sqlite-provider.c (revision 3104)
+++ providers/sqlite/gda-sqlite-provider.c (working copy)
@@ -327,7 +327,7 @@
scnc = g_new0 (SQLITEcnc, 1);
errmsg = sqlite3_open (filename, &scnc->connection);
- scnc->file = g_strdup (filename);
+ scnc->file = filename;
if (errmsg != SQLITE_OK) {
printf("error %s", sqlite3_errmsg (scnc->connection));
_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list