Segfault FS#2

Forgot to calloc the collection of collected manga
This commit is contained in:
Tom Willemsen 2010-11-03 23:50:57 +01:00
parent cb376d3ef4
commit ce6f28bf35

View file

@ -117,6 +117,7 @@ void data_get_volumes_by_manga_id(gint manga_id, gint *size, gint **vols)
}
sqlite3_finalize(statement);
volumes = (gint *)calloc(sizeof(gint), count);
if (count > 0) {
sql = g_strdup_printf(