Wireshark-commits: [Wireshark-commits] master-3.0 463fa2d: Pass the correct value to ascendlex_dest

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

Commits:

463fa2d 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 08379b6f8ad8dd8cf0cfaef6d1ea67a12d6a2d98)
    Reviewed-on: https://code.wireshark.org/review/33815
    

Actions performed:

    from  b1f9b3f   wiretap: ascend: Destroy lexer state after parsing
     add  463fa2d   Pass the correct value to ascendlex_destroy().


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