Send connman mailing list submissions to
        connman@lists.01.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
        connman-requ...@lists.01.org

You can reach the person managing the list at
        connman-ow...@lists.01.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."


Today's Topics:

   1. Re: [PATCH] gsupplicant: Fix memory leak (Patrik Flykt)


----------------------------------------------------------------------

Message: 1
Date: Fri, 16 Sep 2016 11:10:40 +0300
From: Patrik Flykt <patrik.fl...@linux.intel.com>
To: Jose Blanquicet <blanqui...@gmail.com>, connman@lists.01.org
Subject: Re: [PATCH] gsupplicant: Fix memory leak
Message-ID: <1474013440.14271.37.ca...@linux.intel.com>
Content-Type: text/plain; charset="UTF-8"

On Thu, 2016-09-15 at 12:07 +0200, Jose Blanquicet wrote:
> Memory allocated to store Wi-Fi Display information needs to be
> freed.
> The number of lost blocks is proportional to the number of found
> peers.
> The following valgrind report was got when there were two peers in
> range:
> 
> ==10427== 18 bytes in 2 blocks are definitely lost in loss record 48
> of 181
> ==10427==????at 0x4C2CC70: calloc (in
> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==10427==????by 0x4E85668: g_malloc0 (in /lib/x86_64-linux-
> gnu/libglib-2.0.so.0.4002.0)
> ==10427==????by 0x423C7C: peer_property (supplicant.c:2926)
> ==10427==????by 0x42983C: supplicant_dbus_property_foreach
> (dbus.c:145)
> ==10427==????by 0x429951: property_get_all_reply (dbus.c:184)
> ==10427==????by 0x514A501: ??? (in /lib/x86_64-linux-gnu/libdbus-
> 1.so.3.7.6)
> ==10427==????by 0x514D730: dbus_connection_dispatch (in /lib/x86_64-
> linux-gnu/libdbus-1.so.3.7.6)
> ==10427==????by 0x483C8F: message_dispatch (mainloop.c:72)
> ==10427==????by 0x4E7FCE4: g_main_context_dispatch (in /lib/x86_64-
> linux-gnu/libglib-2.0.so.0.4002.0)
> ==10427==????by 0x4E80047: g_main_context_iterate.isra.24 (in
> /lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0)
> ==10427==????by 0x4E80309: g_main_loop_run (in /lib/x86_64-linux-
> gnu/libglib-2.0.so.0.4002.0)
> ==10427==????by 0x41001C: main (main.c:706)

Applied, thanks!

        Patrik


------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list
connman@lists.01.org
https://lists.01.org/mailman/listinfo/connman


------------------------------

End of connman Digest, Vol 11, Issue 18
***************************************

Reply via email to