Free destination on IsoSymlinks.

This commit is contained in:
Vreixo Formoso 2007-12-06 02:13:01 +01:00
parent f62c34776f
commit 06db9a3c73

View File

@ -49,6 +49,11 @@ void iso_node_unref(IsoNode *node)
iso_stream_unref(file->stream);
}
break;
case LIBISO_SYMLINK:
{
IsoSymlink *link = (IsoSymlink*) node;
free(link->dest);
}
default:
/* TODO #00002 handle deletion of each kind of node */
break;