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 700987 - Be more careful with memory allocation
Be more careful with memory allocation
Status: RESOLVED FIXED
Product: vino
Classification: Applications
Component: Server
unspecified
Other All
: Normal normal
: ---
Assigned To: Vino Maintainer(s)
Vino Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-05-25 04:53 UTC by Matthias Clasen
Modified: 2013-05-27 02:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Be more careful with memory allocation (1.04 KB, patch)
2013-05-25 04:53 UTC, Matthias Clasen
committed Details | Review

Description Matthias Clasen 2013-05-25 04:53:32 UTC
Better to 0-initialize these structs, since GetValidIGD may
not end up filling them.
See https://bugzilla.redhat.com/attachment.cgi?id=707491
for a related stacktrace.
Comment 1 Matthias Clasen 2013-05-25 04:53:34 UTC
Created attachment 245285 [details] [review]
Be more careful with memory allocation
Comment 2 David King 2013-05-25 19:16:20 UTC
Review of attachment 245285 [details] [review]:

Looks fine, please push.
Comment 3 David King 2013-05-25 19:18:08 UTC
Review of attachment 245285 [details] [review]:

Looks fine, please push.
Comment 4 Matthias Clasen 2013-05-27 02:37:15 UTC
Attachment 245285 [details] pushed as 81b5e37 - Be more careful with memory allocation