fixed issue #246, security warning.

This commit is contained in:
xiaoyifang 2022-12-07 09:16:20 +08:00 committed by GitHub
parent 55d13305ca
commit f8db78be34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -575,7 +575,6 @@ void dict_data_close( dictData *header )
xfree (header -> cache [i].inBuffer); xfree (header -> cache [i].inBuffer);
} }
memset( header, 0, sizeof( struct dictData ) );
xfree( header ); xfree( header );
} }