Martinsos / edlib

Lightweight, super fast C/C++ (& Python) library for sequence alignment using edit (Levenshtein) distance.
http://martinsos.github.io/edlib
MIT License
514 stars 167 forks source link

Check that allocation of memory is successful #39

Open Martinsos opened 9 years ago

Martinsos commented 9 years ago

I should always check that allocation of memory was successful, by checking if maybe NULL was returned!