summaryrefslogtreecommitdiff
path: root/cubedbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'cubedbus.c')
-rw-r--r--cubedbus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cubedbus.c b/cubedbus.c
index c7fd7bf..15c2c7c 100644
--- a/cubedbus.c
+++ b/cubedbus.c
@@ -129,6 +129,10 @@ cubedbusAddObject (CompDisplay *d,
strcpy(name,cubedbusName->string[i]);
+ for(i=0,i<cubedbusName->n;i++)
+ {
+ free(cubedbusName->string[i]);
+ }
free(cubedbusName->string);
free(cubedbusName);