diff options
author | Jiyong Min <jiyong.min@samsung.com> | 2021-12-13 13:11:35 +0900 |
---|---|---|
committer | Jiyong Min <jiyong.min@samsung.com> | 2021-12-13 13:11:35 +0900 |
commit | 58ec75c14c0d98b768ff5ec5db0b1b0d06e39517 (patch) | |
tree | 7db0e8a779c044ef43cf21b0c400253f6894fae7 /src | |
parent | 3ab54f0c8dca0242bdfc0264ca9ee2af6b35631d (diff) | |
download | libmedia-thumbnail-58ec75c14c0d98b768ff5ec5db0b1b0d06e39517.tar.gz libmedia-thumbnail-58ec75c14c0d98b768ff5ec5db0b1b0d06e39517.tar.bz2 libmedia-thumbnail-58ec75c14c0d98b768ff5ec5db0b1b0d06e39517.zip |
replace g_memdup() to g_memdup2()submit/tizen/20211212.233427accepted/tizen/unified/20211222.230637
- g_memdup() was removed in glib2
Change-Id: I363223630eadd1c0297eb0a40fda79aead7e3dfb
Diffstat (limited to 'src')
-rwxr-xr-x | src/media-thumbnail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media-thumbnail.c b/src/media-thumbnail.c index e241509..d719f7f 100755 --- a/src/media-thumbnail.c +++ b/src/media-thumbnail.c @@ -211,7 +211,7 @@ static int __get_video_meta(int cdis_value, const char *path, int *video_track_n *width = _width; *height = _height; *frame_size = _frame_size; - *frame = g_memdup(_frame, _frame_size); + *frame = g_memdup2(_frame, _frame_size); mm_file_destroy_content_attrs(content); |