Free destination on IsoSymlinks.

release-1.5.4.branch
Vreixo Formoso 15 years ago
parent f62c34776f
commit 06db9a3c73
  1. 5
      src/node.c

@ -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;

Loading…
Cancel
Save