Wireshark-commits: [Wireshark-commits] master b94d3af: failure_message.c: fix a memory leak if err

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 07 Mar 2018 06:09:22 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b94d3af3039b8bdfbd4d760fda412fdfa121b732
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

b94d3af by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    failure_message.c: fix a memory leak if err is not negative
    
    Bug: 14489
    Change-Id: I958cfae824c50263913ba9df8128e34e9466cb67
    Reviewed-on: https://code.wireshark.org/review/26294
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: ronnie sahlberg <ronniesahlberg@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  035f49d   PCP: allocate conversation info in file scope
    adds  b94d3af   failure_message.c: fix a memory leak if err is not negative


Summary of changes:
 ui/failure_message.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)