Commit fbd67aeb authored by Rémi Duraffort's avatar Rémi Duraffort Committed by Jean-Baptiste Kempf

Protect against bad use after a vlc_dictionary_clear.

(cherry picked from commit 2909c5c3)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 77815a60
......@@ -442,6 +442,7 @@ static inline void vlc_dictionary_clear( vlc_dictionary_t * p_dict )
}
}
free( p_dict->p_entries );
p_dict->p_entries = NULL;
}
p_dict->i_size = 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment