Wireshark-commits: [Wireshark-commits] master 58cc932: Pass the correct value to ascendlex_destroy(
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 01 Jul 2019 19:27:54 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=58cc932d2f3d7dcb55685c32a02bb7e8fec81b82
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

58cc932 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>
    

Actions performed:

    from  bd5ba2b   wiretap: ascend: Destroy lexer state after parsing
     add  58cc932   Pass the correct value to ascendlex_destroy().


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