After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 770036 - [PATCH] Fix memory leak in VteTerminalPrivate::child_watch_done()
[PATCH] Fix memory leak in VteTerminalPrivate::child_watch_done()
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-08-17 13:45 UTC by Eric R. Schulz
Modified: 2016-08-17 14:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix memory leak in VteTerminalPrivate::child_watch_done() (715 bytes, patch)
2016-08-17 13:45 UTC, Eric R. Schulz
none Details | Review

Description Eric R. Schulz 2016-08-17 13:45:59 UTC
Created attachment 333500 [details] [review]
Fix memory leak in VteTerminalPrivate::child_watch_done()

Match g_object_ref() with a call to g_object_unref().
The bug was introduced in 50aee40.
Comment 1 Christian Persch 2016-08-17 14:14:26 UTC
Ouch! Thanks for noticing. Instead of adding the unref, I just removed the ref, as explained in the new commit message. Thanks!!