Skip to content

Commit

Permalink
free only when != null
Browse files Browse the repository at this point in the history
  • Loading branch information
kingster committed May 28, 2021
1 parent e81e01a commit aefd93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orkaudio/filters/LiveStream/LiveStreamFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class DLL_IMPORT_EXPORT_ORKBASE LiveStreamFilter : public Filter {
std::deque<char *> bufferQueue;
double maxBufferSize;
bool shouldStreamAllCalls;
char * silentChannelBuffer;
char * silentChannelBuffer = NULL;
void PushToRTMP(AudioChunkDetails& channelDetails, char* firstChannelBuffer, char* secondChannelBuffer);
};

Expand Down

0 comments on commit aefd93a

Please sign in to comment.