diff --git a/locale/tr/LC_MESSAGES/libmp.po b/locale/tr/LC_MESSAGES/libmp.po index f3d1ea0..6453229 100644 --- a/locale/tr/LC_MESSAGES/libmp.po +++ b/locale/tr/LC_MESSAGES/libmp.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-31 21:14+0300\n" +"POT-Creation-Date: 2024-07-31 23:52+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/src/database/entry.c b/src/database/entry.c index 3e1060e..54cfbdd 100644 --- a/src/database/entry.c +++ b/src/database/entry.c @@ -78,7 +78,7 @@ bool lm_database_entry_find(lm_database_t *db, lm_entry_t *entry, char *name, ch // package pointer should already be free'd // we are initing it just in case the caller didn't if(NULL != entry) - lm_entry_free(entry); + lm_entry_init(entry); if(sqlite3_prepare(db->entries_db, query, strlen(query), &db->entries_st, NULL) != SQLITE_OK){ pdebug(__func__, "failed to prepare statement for finding %s: %s", name, sqlite3_errmsg(db->entries_db));