Fix memory leak in cdr_sqlite3_custom.