2008/5/18 Phil Longstaff <[EMAIL PROTECTED]>: > I looked into this a bit more... > > Phil Longstaff <[EMAIL PROTECTED]> wrote: > > I'm trying to trace down various memory leaks I have. When I try to close a > connection (sqlite provider), the call to sqlite3_close() fails with an > error "unable to close due to unfinalised statements". Is this something I > have to take care of, or is this inside libgda? > > Phil > > I looked into this a bit more. My code calls gda_connection_close() > followed by g_object_unref(conn). However, I don't think that the close > will work properly because the connection may still have cached prepared > statements, and these aren't dealt with until the connection dispose > function. I think the prepared statements should be released when the > connection is closed so that the sqlite3_close() call will work.
You're right, this needs to be corrected. I'll check that ASAP. Thanks, Vivien _______________________________________________ gnome-db-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-db-list
