Changeset 115d0547f7176a77a18564e0f901e4734becba80
- Timestamp:
- 15/07/08 13:21:24
(5 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1216120884 +0200
- git-parent:
[7a4fd6378700e37ce0972ed8a70a31424c96e589]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1216120043 +0200
- Message:
services_discovery: playlist_NodesPairCreate needs a lock.
Should fix #1708 (Adding a folder in the Mac OS X VLC *media library* result in an assertion failure). Thanks to upcoming commit "playlist: Use PL_ASSERT_LOCKED where the playlist lock should be held.".
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r57c3ecd |
r115d054 |
|
| 307 | 307 | char * psz = services_discovery_GetLocalizedName( p_sd ); |
|---|
| 308 | 308 | assert( psz ); |
|---|
| | 309 | PL_LOCK; |
|---|
| 309 | 310 | playlist_NodesPairCreate( p_playlist, psz, |
|---|
| 310 | 311 | &p_cat, &p_one, false ); |
|---|
| | 312 | PL_UNLOCK; |
|---|
| 311 | 313 | free( psz ); |
|---|
| 312 | 314 | |
|---|