Wireshark-commits: [Wireshark-commits] master-2.6 6ed1401: Pass the correct value to ascendlex_dest

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 01 Jul 2019 19:29:26 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6ed140178dce0ef595e303fa445c668323326c0c
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

6ed1401 by Guy Harris (guy@xxxxxxxxxxxx):

    Pass the correct value to ascendlex_destroy().
    
    It takes a yyscan_t as an argument, not a pointer to a yyscan_t; a
    yyscan_t is a pointer to the scanner state.  (A pointer to it is passed
    to the init routine so that it can be set to point to the allocated
    state, not because it's a structure itself.)
    
    Change-Id: If80ca1caaa07d8a966df8d07f989b722869ac58b
    Reviewed-on: https://code.wireshark.org/review/33814
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 58cc932d2f3d7dcb55685c32a02bb7e8fec81b82)
    Reviewed-on: https://code.wireshark.org/review/33816
    

Actions performed:

    from  20179f4   wiretap: ascend: Destroy lexer state after parsing
     add  6ed1401   Pass the correct value to ascendlex_destroy().


Summary of changes:
 wiretap/ascend.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)