summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2013-07-06 17:35:49 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2013-07-06 17:35:49 +0200
commitfadf399405ca5d918dd5e1182fadc3d82f6bc900 (patch)
treedfa69199c211a2a4a3269abd5e10abaa0cb20b5d /src/kernel
parent9c74cb8c5bb5661d7f71f43b88816e70cc9fc022 (diff)
downloadTCE-fadf399405ca5d918dd5e1182fadc3d82f6bc900.tar.gz
TCE-fadf399405ca5d918dd5e1182fadc3d82f6bc900.zip
(nothing)
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/vfs/vdir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/vfs/vdir.h b/src/kernel/vfs/vdir.h
index 366b3f1..6aacc2f 100644
--- a/src/kernel/vfs/vdir.h
+++ b/src/kernel/vfs/vdir.h
@@ -12,6 +12,10 @@ struct vdir_child {
vdir_child(char* na, node* nd) : el(nd) {
name = strdup(na);
}
+
+ virtual ~vdir_child() {
+ free(name);
+ }
};
class vdir : public node {