[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/ksmserver
From:       Michael Jansen <kde () michael-jansen ! biz>
Date:       2009-07-26 21:50:54
Message-ID: 1248645054.124482.9090.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1002753 by mjansen:

Fix memory leak.

2,560 bytes in 1 blocks are definitely lost in loss record 192 of 227
   at 0x4C25ACF: realloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
   by 0x90088B8: XGetVisualInfo (VisUtil.c:136)
   by 0x4E3C08C: checkComposite() (main.cpp:110)
   by 0x4E3D0C2: kdemain (main.cpp:263)
   by 0xA6E6585: (below main) (in /lib64/libc-2.9.so)

 M  +2 -0      main.cpp  


--- trunk/KDE/kdebase/workspace/ksmserver/main.cpp #1002752:1002753
@@ -121,6 +121,8 @@
             }
         }
 
+        XFree(xvi);
+
     }
     XCloseDisplay( dpy );
     dpy = NULL;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic