diff --git a/packages/video_player_videohole/CHANGELOG.md b/packages/video_player_videohole/CHANGELOG.md index f99b5b4db..5b5b0c862 100644 --- a/packages/video_player_videohole/CHANGELOG.md +++ b/packages/video_player_videohole/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.1 + +* Free response buffer after install key. + ## 0.5.0 * Add get duration API for live stream diff --git a/packages/video_player_videohole/README.md b/packages/video_player_videohole/README.md index f7fcc8ea9..435c2d6e5 100644 --- a/packages/video_player_videohole/README.md +++ b/packages/video_player_videohole/README.md @@ -12,7 +12,7 @@ To use this package, add `video_player_videohole` as a dependency in your `pubsp ```yaml dependencies: - video_player_videohole: ^0.5.0 + video_player_videohole: ^0.5.1 ``` Then you can import `video_player_videohole` in your Dart code: diff --git a/packages/video_player_videohole/pubspec.yaml b/packages/video_player_videohole/pubspec.yaml index 3a2dae2d1..2e2ef26e2 100644 --- a/packages/video_player_videohole/pubspec.yaml +++ b/packages/video_player_videohole/pubspec.yaml @@ -2,7 +2,7 @@ name: video_player_videohole description: Flutter plugin for displaying inline video on Tizen TV devices. homepage: https://github.com/flutter-tizen/plugins repository: https://github.com/flutter-tizen/plugins/tree/master/packages/video_player_videohole -version: 0.5.0 +version: 0.5.1 environment: sdk: ">=2.18.0 <4.0.0" diff --git a/packages/video_player_videohole/tizen/src/drm_manager.cc b/packages/video_player_videohole/tizen/src/drm_manager.cc index 3d695b01e..d2bb54d4d 100644 --- a/packages/video_player_videohole/tizen/src/drm_manager.cc +++ b/packages/video_player_videohole/tizen/src/drm_manager.cc @@ -262,6 +262,7 @@ bool DrmManager::ProcessLicense(DataForLicenseProcess &data) { reinterpret_cast(data.session_id.c_str())), static_cast(response_data), reinterpret_cast(response_len)); + free(response_data); } else if (request_license_channel_) { // Get license via the Dart callback. RequestLicense(data.session_id, data.message);