summaryrefslogtreecommitdiff
path: root/cubedbus.c
diff options
context:
space:
mode:
authorJoel Bosveld <joel@JOEL-UBUNTU.(none)>2007-11-23 20:21:51 +0900
committerJoel Bosveld <joel@JOEL-UBUNTU.(none)>2007-11-23 20:21:51 +0900
commit072f8d8c59f467b24fccead2bc45f338467da8aa (patch)
tree8a60aaf041099e2be57322a194ffeb2b7a2d11e5 /cubedbus.c
parentc013495965ce127a32c712e14dfc71f050d045da (diff)
downloadcubedbus-072f8d8c59f467b24fccead2bc45f338467da8aa.tar.gz
cubedbus-072f8d8c59f467b24fccead2bc45f338467da8aa.tar.bz2
Fixed bug where points on texture being drawn in wrong order. Properly
freed some memory after use.
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);