Fix little bug.

This commit is contained in:
Vreixo Formoso 2008-01-16 20:28:24 +01:00
parent cd27776154
commit 46507e68aa

View File

@ -92,7 +92,7 @@ int create_node(Ecma119Image *t, IsoNode *iso, JolietNode **node)
if (iso->type == LIBISO_DIR) { if (iso->type == LIBISO_DIR) {
IsoDir *dir = (IsoDir*) iso; IsoDir *dir = (IsoDir*) iso;
joliet->info.dir = calloc(1, sizeof(struct joliet_node)); joliet->info.dir = calloc(1, sizeof(struct joliet_dir_info));
if (joliet->info.dir == NULL) { if (joliet->info.dir == NULL) {
free(joliet); free(joliet);
return ISO_MEM_ERROR; return ISO_MEM_ERROR;