obs-outputs: Fix leak with certs for rtmp

This commit is contained in:
pkv 2019-04-21 23:24:15 +02:00
parent 7925ac1402
commit a5b837518e
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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);