openbsd-ports/audio/gtkpod/patches/patch-src_file_itunesdb_c
2011-10-18 18:57:15 +00:00

18 lines
432 B
Plaintext

$OpenBSD: patch-src_file_itunesdb_c,v 1.6 2011/10/18 18:57:15 sthen Exp $
--- src/file_itunesdb.c.orig Sat Jan 17 22:52:32 2009
+++ src/file_itunesdb.c Thu Feb 26 23:12:27 2009
@@ -905,8 +905,11 @@ iTunesDB *gp_load_ipod (iTunesDB *itdb)
ok_to_load = FALSE;
}
}
- g_free (itunesdb);
- g_free (mountpoint);
+ else
+ {
+ g_free (itunesdb);
+ g_free (mountpoint);
+ }
if (ok_to_load)
{