Changeset 7b6ad1735535ad12338cb2739f5065a829ac5469

Show
Ignore:
Timestamp:
15/07/08 13:21:35 (4 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1216120895 +0200
git-parent:

[115d0547f7176a77a18564e0f901e4734becba80]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1216120202 +0200
Message:

directory: playlist_NodeCreate needs a lock.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/directory.c

    r79f590d r7b6ad17  
    484484                msg_Dbg (p_playlist, "creating subdirectory %s", psz_uri); 
    485485 
     486                PL_LOCK; 
    486487                p_node = playlist_NodeCreate( p_playlist, entry, 
    487488                                              p_parent_category, 
    488489                                              PLAYLIST_NO_REBUILD, NULL ); 
     490                PL_UNLOCK; 
    489491 
    490492                /* If we had the parent in category, the it is now node.