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 792127 - rtspserver unit tests: memory leak in test_no_session_timeout
rtspserver unit tests: memory leak in test_no_session_timeout
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal normal
: 1.13.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-01-02 13:28 UTC by Branko Subasic
Modified: 2018-01-13 15:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Unref the rtsp session object when at the end of the test (793 bytes, patch)
2018-01-02 13:28 UTC, Branko Subasic
committed Details | Review

Description Branko Subasic 2018-01-02 13:28:35 UTC
Created attachment 366202 [details] [review]
Unref the rtsp session object when at the end of the test

Well, the description pretty much says it all. An rtsp session object is created but not unreffed. Attaching a patch fixing the issue.
Comment 1 Tim-Philipp Müller 2018-01-13 15:03:39 UTC
Thanks!

commit 3d860913c66414b8737d1bf945dfe2434ac1e14b
Author: Branko Subasic <branko@axis.com>
Date:   Tue Jan 2 14:19:31 2018 +0100

    test: rtspserver: plug memory leak in test_no_session_timeout
    
    In test_no_session_timeout, unref the rtsp session object when the
    test is done.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=792127