mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 15:32:43 +02:00
fix possible memleak
Origin commit data
------------------
Branch: master
Commit: d785673778
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-11-17 (Fri, 17 Nov 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -224,9 +224,9 @@ int decode_frame(AVCodecContext *codecContext,AVPacket &packet, FILE* fp)
|
|||||||
sws_freeContext(convert);
|
sws_freeContext(convert);
|
||||||
}
|
}
|
||||||
write_frame(dest_frame, fp);
|
write_frame(dest_frame, fp);
|
||||||
av_frame_free(&frame);
|
|
||||||
av_frame_free(&dest_frame);
|
av_frame_free(&dest_frame);
|
||||||
}
|
}
|
||||||
|
av_frame_free(&frame);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user