diff options
Diffstat (limited to 'src/db-artwork-parser.c')
-rw-r--r-- | src/db-artwork-parser.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/db-artwork-parser.c b/src/db-artwork-parser.c index 8c41dd6..7cc7b82 100644 --- a/src/db-artwork-parser.c +++ b/src/db-artwork-parser.c @@ -352,7 +352,11 @@ ipod_parse_artwork_db (Itdb_iTunesDB *db) DBParseContext *ctx; char *filename; + ctx = NULL; filename = ipod_db_get_artwork_db_path (db->mountpoint); + if (filename == NULL) { + goto error; + } ctx = db_parse_context_new_from_file (filename); g_free (filename); if (ctx == NULL) { |