Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 68fa739: Lua: Check if having listeners before remove

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 3 Sep 2015 16:07:49 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=68fa739ef16b21271dc8c3cb5649aa929379f3aa
Submitter: Stig Bj?rlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

68fa739 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Lua: Check if having listeners before remove
    
    This avoids a warning when trying to remove a listener twice.
      g_ptr_array_remove: assertion 'array' failed
    
    Change-Id: I0bcbbbe3b3393a8455b51fad80c5716fc38ac50e
    Reviewed-on: https://code.wireshark.org/review/10370
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  2be3820   Address "shadow" warnings found by checkAPI script.
    adds  68fa739   Lua: Check if having listeners before remove


Summary of changes:
 epan/wslua/wslua_listener.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)