Wireshark-commits: [Wireshark-commits] master 6ede7d4: g_mallocate the encrypted key, but free it i

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 21 Dec 2015 20:45:16 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6ede7d4ba3d7acaf90846618afd0830a57511b64
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6ede7d4 by Guy Harris (guy@xxxxxxxxxxxx):

    g_mallocate the encrypted key, but free it in all paths out of the function.
    
    It doesn't need to persist after the function returns.
    
    Change-Id: Ic601a6ef6a0aa0f22f9c8b9a1c586cec95093f27
    Reviewed-on: https://code.wireshark.org/review/12805
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  830f30a   Add AVP 100 amd 223
    adds  6ede7d4   g_mallocate the encrypted key, but free it in all paths out of the function.


Summary of changes:
 epan/crypt/airpdcap.c |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)