• Casian Andrei's avatar
    dbus: Prevent dictionary from growing out of control · 0d3ac6a7
    Casian Andrei authored
    For each item that was appended or deleted, the ("Tracks", NULL) pair
    was inserted (duplicated over and over) in the tracklist_properties
    dictionary. The dictionary was inserting it in the same position and
    it assumed it had hash collisions, triggering an expansion at every
    insertion of that pair.
    
    Check if the key is present before inserting in the dict again, at
    playlist_item_append, playlist_item_deleted events.
    Signed-off-by: Ilkka Ollakka's avatarIlkka Ollakka <ileoo@videolan.org>
    0d3ac6a7
Name
Last commit
Last update
..
dbus Loading commit data...
globalhotkeys Loading commit data...
.gitignore Loading commit data...
Modules.am Loading commit data...
dummy.c Loading commit data...
gestures.c Loading commit data...
hotkeys.c Loading commit data...
lirc.c Loading commit data...
motion.c Loading commit data...
netsync.c Loading commit data...
ntservice.c Loading commit data...
rc.c Loading commit data...
unimotion.c Loading commit data...
unimotion.h Loading commit data...