Changeset 101b3425546c8f672f2375d433d62017baa16e16
- Timestamp:
- 07/02/08 21:57:30
(2 months ago)
- Author:
- Laurent Aimar <fenrir@videolan.org>
- git-committer:
- Laurent Aimar <fenrir@videolan.org> 1215028650 +0000
- git-parent:
[237c2d7a9ea4fbcdb95c26e6f4209e59dff5c937]
- git-author:
- Laurent Aimar <fenrir@videolan.org> 1215019564 +0000
- Message:
Fixed vlc_icon_t leak in case of error.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r237c2d7 |
r101b342 |
|
| 718 | 718 | size_t i_ibl, i_obl, i_len; |
|---|
| 719 | 719 | |
|---|
| | 720 | if( ( i_peek = stream_Peek( s, &p_peek, p_cd->i_object_size ) ) < 34 ) |
|---|
| | 721 | { |
|---|
| | 722 | return VLC_EGENERIC; |
|---|
| | 723 | } |
|---|
| | 724 | |
|---|
| 720 | 725 | cd = vlc_iconv_open("UTF-8", "UTF-16LE"); |
|---|
| 721 | 726 | if ( cd == (vlc_iconv_t)-1 ) { |
|---|
| … | … | |
| 734 | 739 | p_data += i_size; |
|---|
| 735 | 740 | |
|---|
| 736 | | if( ( i_peek = stream_Peek( s, &p_peek, p_cd->i_object_size ) ) < 34 ) |
|---|
| 737 | | { |
|---|
| 738 | | return VLC_EGENERIC; |
|---|
| 739 | | } |
|---|
| 740 | 741 | p_data = p_peek + 24; |
|---|
| 741 | 742 | |
|---|