Wireshark-commits: [Wireshark-commits] master-2.4 9eb3ca6: Pass the correct value to ascendlex_dest

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

Commits:

9eb3ca6 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/33817
    

Actions performed:

    from  8885d39   wiretap: ascend: Destroy lexer state after parsing
     add  9eb3ca6   Pass the correct value to ascendlex_destroy().


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