Skip to content

Commit

Permalink
[video_player_videohole] Free response buffer after install key (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowei-guan authored Jan 5, 2024
1 parent e6446a4 commit f2c3a71
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/video_player_videohole/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.1

* Free response buffer after install key.

## 0.5.0

* Add get duration API for live stream
Expand Down
2 changes: 1 addition & 1 deletion packages/video_player_videohole/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion packages/video_player_videohole/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions packages/video_player_videohole/tizen/src/drm_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ bool DrmManager::ProcessLicense(DataForLicenseProcess &data) {
reinterpret_cast<const void *>(data.session_id.c_str())),
static_cast<void *>(response_data),
reinterpret_cast<void *>(response_len));
free(response_data);
} else if (request_license_channel_) {
// Get license via the Dart callback.
RequestLicense(data.session_id, data.message);
Expand Down

0 comments on commit f2c3a71

Please sign in to comment.