Here's a fix for the issue (attached).  I looked upstream and while the
issue exists in 3.6.1 it doesn't exist in trunk, so I don't think it
needs to go upstream.

Valgrind summary after applying my fix:
==23336== LEAK SUMMARY:
==23336==    definitely lost: 0 bytes in 0 blocks

The patch is pretty simple, just free the list that g_listenv() creates.

** Patch added: "fixes the memory leak"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1088352/+attachment/3455977/+files/51_fix_memleak_in_name_lost_cb.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1088352

Title:
  gnome-terminal leaks memory on startup after call to g_listenv

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1088352/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to