ztane / python-Levenshtein

The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity
GNU General Public License v2.0
1.26k stars 155 forks source link

Fix incorrect allocation size #70

Closed maxbachmann closed 3 years ago

maxbachmann commented 3 years ago

The size of the memory allocation should not depend on the size of a different struct. This did not break so far, since both structs have the same size. Ping @ztane