• Sam Gigliotti's avatar
    webrtcbin: Fixed memory leak in gstwebrtcstats · 90d939ea
    Sam Gigliotti authored
    The function _get_stats_from_ice_transport returns a string which must be
    freed by the caller. However, _get_stats_from_dtls_transport was ignoring
    the return value from this function, resulting in a leak.
    
    Ran this with valgrind. Before this fix there was a leak of 40 bytes each
    time this was called. After there was no leak.
    90d939ea
Name
Last commit
Last update
..
Makefile.am Loading commit data...
fwd.h Loading commit data...
gstwebrtc.c Loading commit data...
gstwebrtcbin.c Loading commit data...
gstwebrtcbin.h Loading commit data...
gstwebrtcice.c Loading commit data...
gstwebrtcice.h Loading commit data...
gstwebrtcstats.c Loading commit data...
gstwebrtcstats.h Loading commit data...
icestream.c Loading commit data...
icestream.h Loading commit data...
meson.build Loading commit data...
nicetransport.c Loading commit data...
nicetransport.h Loading commit data...
sctptransport.c Loading commit data...
sctptransport.h Loading commit data...
transportreceivebin.c Loading commit data...
transportreceivebin.h Loading commit data...
transportsendbin.c Loading commit data...
transportsendbin.h Loading commit data...
transportstream.c Loading commit data...
transportstream.h Loading commit data...
utils.c Loading commit data...
utils.h Loading commit data...
webrtcdatachannel.c Loading commit data...
webrtcdatachannel.h Loading commit data...
webrtcsdp.c Loading commit data...
webrtcsdp.h Loading commit data...
webrtctransceiver.c Loading commit data...
webrtctransceiver.h Loading commit data...