title and message_body gstrings are not properly freed before replacement.

Bug #364664 reported by Eitan Isaacson
2
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
Fix Released
Medium
Mirco Müller

Bug Description

a zero length g_string is still a structure with allocated memory, as such the test gstring->len == 0 is not sufficient for exempting a g_string_free()

Tags: memleak

Related branches

Revision history for this message
Eitan Isaacson (eeejay) wrote :
tags: added: memleak
Mirco Müller (macslow)
Changed in notify-osd:
assignee: nobody → Mirco Müller (macslow)
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Alexander Sack (asac) wrote :

the message_body part is still missing on lp:notify-osd.

Revision history for this message
Alexander Sack (asac) wrote :
Neil J. Patel (njpatel)
Changed in notify-osd:
status: Fix Committed → Fix Released
affects: notify-osd → notify-osd (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.