[vlc-commits] [Git][videolan/vlc][master] core: jaro_winkler: Fix leak

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Tue Dec 21 14:30:34 UTC 2021



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
7d4d28d2 by Hugo Beauzée-Luyssen at 2021-12-21T14:16:40+00:00
core: jaro_winkler: Fix leak

- - - - -


1 changed file:

- src/config/jaro_winkler.c


Changes:

=====================================
src/config/jaro_winkler.c
=====================================
@@ -124,6 +124,7 @@ static inline int jaro_inner(const char *a, const char *b, size_t *ret_prefix_cc
         }
         a_char++;
     }
+    free(b_consumed);
 
     if (matches == 0) {
         *res = 0.0;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7d4d28d2ed362a054c21390d8778ba76a409d140

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7d4d28d2ed362a054c21390d8778ba76a409d140
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list