git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4773
91ce42f0-d328-0410-95d8-
f526ca767f89
OPTIONS="${OPTIONS} -g ${DIR_GROUP}"
fi
+# valgrind --leak-check=full ${BACDIRBIN}/bacula-dir $2 ${OPTIONS} -v -c ${BACDIRCFG}/dird.conf
${BACDIRBIN}/bacula-dir $2 ${OPTIONS} -v -c ${BACDIRCFG}/dird.conf
}
;;
{
int stat;
+ my_sqlite_free_table(mdb);
if (mdb->sqlite_errmsg) {
#ifdef HAVE_SQLITE3
sqlite3_free(mdb->sqlite_errmsg);
free(mdb->fields);
mdb->fields_defined = false;
}
- sqlite_free_table(mdb->result);
+ if (mdb->result) {
+ sqlite_free_table(mdb->result);
+ mdb->result = NULL;
+ }
mdb->nrow = mdb->ncolumn = 0;
}
General:
13May07
+kes Eliminate important memory loss in SQLite
kes Fixed the batch insert MySQL thread specific data that was not
being freed. See cats/mysql.c:db_thread_cleanup().
kes Fix restore before command.