Skip to content
  • Håvard Graff's avatar
    gstpad: use hook_id instead of hook in called_probes list · 4b3872f7
    Håvard Graff authored
    A pointer to a hook in this list can easily not be unique, given both
    the slice-allocator reusing memory, and the OS re-using freed blocks
    in malloc.
    
    By doing many repeated add and remove of probes, this becomes very easily
    reproduced.
    
    Instead use hook_id, which *is* unique for a added GHook.
    4b3872f7