obs-outputs: Fix leak with certs for rtmp
This commit is contained in:
parent
7925ac1402
commit
a5b837518e
@ -381,6 +381,7 @@ extern "C"
|
||||
void RTMP_Init(RTMP *r);
|
||||
void RTMP_Close(RTMP *r);
|
||||
RTMP *RTMP_Alloc(void);
|
||||
void RTMP_TLS_Free();
|
||||
void RTMP_Free(RTMP *r);
|
||||
void RTMP_EnableWrite(RTMP *r);
|
||||
|
||||
|
@ -92,6 +92,7 @@ static void rtmp_stream_destroy(void *data)
|
||||
}
|
||||
}
|
||||
|
||||
RTMP_TLS_Free();
|
||||
free_packets(stream);
|
||||
dstr_free(&stream->path);
|
||||
dstr_free(&stream->key);
|
||||
|
Loading…
x
Reference in New Issue
Block a user