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 653859 - freeing of const strings in dnssd-backend
freeing of const strings in dnssd-backend
Status: RESOLVED FIXED
Product: libdmapsharing
Classification: Other
Component: General
git master
Other Mac OS
: Normal major
: ---
Assigned To: W. Michael Petullo
W. Michael Petullo
Depends on:
Blocks:
 
 
Reported: 2011-07-02 14:49 UTC by Daniel Svensson
Modified: 2011-07-04 00:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
duplicate the const strings (1.05 KB, patch)
2011-07-02 14:53 UTC, Daniel Svensson
none Details | Review

Description Daniel Svensson 2011-07-02 14:49:31 UTC
freeing of const strings in dnssd-backend..

here there are assigned to the service result:

http://git.gnome.org/browse/libdmapsharing/tree/libdmapsharing/dmap-mdns-browser-dnssd.c#n354

here they are free'd:
http://git.gnome.org/browse/libdmapsharing/tree/libdmapsharing/dmap-mdns-browser-dnssd.c#n490
Comment 1 Daniel Svensson 2011-07-02 14:53:49 UTC
Created attachment 191151 [details] [review]
duplicate the const strings
Comment 2 W. Michael Petullo 2011-07-04 00:48:04 UTC
I applied the submitted patch to Git master. I think bug #653867 is the bigger issue. The DNS-SD code that used Apple's API gets less attention that the Avahi code.