GNOME Bugzilla – Bug 677463
rtsp-client: GSocketAddress leak
Last modified: 2012-06-06 12:55:09 UTC
In gst_rtsp_client_accept, there is a GSocketAddress memory leak. The GSocketAddress returned by g_socket_get_remote_address is not unreffed. According to the documentation for g_socket_get_remote_address, it should be unreffed. I have attached a patch for fixing this problem.
Created attachment 215638 [details] [review] Patch for fixing GSocketAddress leak in gst_rtsp_client_accept
commit 7b145aeeab24971a4e305b9f4fd26782f35365cd Author: David Svensson Fors <davidsf at axis.com> Date: Wed Jun 6 14:49:02 2012 +0200 client: fix GSocketAddress leak in gst_rtsp_client_accept Fixes https://bugzilla.gnome.org/show_bug.cgi?id=677463