[fusion-commits] compiz mirror: Changes to 'master' (ec32ff563fa1c67cdba1f9cde164ea16b33f382d)

compiz at server.beryl-project.org compiz at server.beryl-project.org
Wed Jul 11 20:08:06 CEST 2007


New commits:
commit ec32ff563fa1c67cdba1f9cde164ea16b33f382d
Author: Roland Bar <roland at verifysoft.de>
Date:   Wed Jul 11 19:06:01 2007 +0100

    Remove unused code

commit cb15b85f625fc645ef83ed6c6cfadc688a1619e5
Author: Roland Bar <roland at verifysoft.de>
Date:   Wed Jul 11 19:05:00 2007 +0100

    use of already free'd pointers


 plugins/ini.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Modified: compiz/plugins/ini.c
===================================================================
--- compiz/plugins/ini.c
+++ compiz/plugins/ini.c
@@ -1228,12 +1228,12 @@ iniFreeFileData (CompDisplay *d)
     INI_DISPLAY (d);
 
     fd = id->fileData;
-    tmp = fd;
 
-    while (tmp && fd)
+    while (fd)
     {
-	free (tmp);
-	tmp = fd->next;
+        tmp = fd;
+        fd = fd->next;
+        free (tmp);
     }
 }
 


More information about the commits mailing list