From 06db9a3c7363b184671f1e8d862b8ea392ee7abe Mon Sep 17 00:00:00 2001 From: Vreixo Formoso Date: Thu, 6 Dec 2007 02:13:01 +0100 Subject: [PATCH] Free destination on IsoSymlinks. --- src/node.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/node.c b/src/node.c index 6f4eb2e..f2f2828 100644 --- a/src/node.c +++ b/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;