Changeset e444bfd2adc3ab5405a7cd2cb05adde8f4b8d8c8
- Timestamp:
- 12/06/06 22:41:22
(2 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1150144882 +0000
- git-parent:
[fab2e7bcdbf32b56a8561f55db9b276eebf2f1c4]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1150144882 +0000
- Message:
* src/misc/stats.c: don't forget to call vlc_object_release() after a stats_HandlerGet().
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0458674 |
re444bfd |
|
| 112 | 112 | |
|---|
| 113 | 113 | vlc_mutex_unlock( &p_handler->object_lock ); |
|---|
| | 114 | vlc_object_release( p_handler ); |
|---|
| 114 | 115 | |
|---|
| 115 | 116 | return VLC_SUCCESS; |
|---|
| … | … | |
| 147 | 148 | i_ret = stats_CounterUpdate( p_handler, p_counter, val, val_new ); |
|---|
| 148 | 149 | vlc_mutex_unlock( &p_handler->object_lock ); |
|---|
| | 150 | vlc_object_release( p_handler ); |
|---|
| 149 | 151 | |
|---|
| 150 | 152 | return i_ret; |
|---|
| … | … | |
| 185 | 187 | { |
|---|
| 186 | 188 | vlc_mutex_unlock( &p_handler->object_lock ); |
|---|
| | 189 | vlc_object_release( p_handler ); |
|---|
| 187 | 190 | val->i_int = val->f_float = 0.0; |
|---|
| 188 | 191 | return VLC_EGENERIC; |
|---|
| … | … | |
| 202 | 205 | { |
|---|
| 203 | 206 | vlc_mutex_unlock( &p_handler->object_lock ); |
|---|
| | 207 | vlc_object_release( p_handler ); |
|---|
| 204 | 208 | val->i_int = 0; val->f_float = 0.0; |
|---|
| 205 | 209 | return VLC_EGENERIC; |
|---|
| … | … | |
| 475 | 479 | } |
|---|
| 476 | 480 | vlc_mutex_unlock( &p_handler->object_lock ); |
|---|
| | 481 | vlc_object_release( p_handler ); |
|---|
| 477 | 482 | } |
|---|
| 478 | 483 | |
|---|