[PATCH libSM] Fix some potential memory leaks in SmcCloseConnection().

Jesse Adkins jesserayadkins at gmail.com
Fri Nov 26 16:34:05 PST 2010


I had to backspace after the 'char' and before '**reasonMsgs' to get
this to apply. Perhaps the git repo has been updated since this patch.
Aside from that, it applies.

Can you comment on why this is needed, either in the code or in the
git commit? Is there anything that can be done to trigger this leak? I
have no problem with giving this a test, but I've never heard of a
leak in libSM when running X in valgrind mode or using it on clients.


More information about the xorg-devel mailing list