mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-02 03:32:04 +00:00
Fix CID 1134827
This commit is contained in:
parent
731fc03a29
commit
9bab36a728
@ -204,6 +204,7 @@ R_API int r_diff_buffers_distance(RDiff *d, const ut8 *a, ut32 la, const ut8 *b,
|
|||||||
if ((m[i] = malloc ((lb+1) * sizeof(int))) == NULL) {
|
if ((m[i] = malloc ((lb+1) * sizeof(int))) == NULL) {
|
||||||
while (i--)
|
while (i--)
|
||||||
free (m[i]);
|
free (m[i]);
|
||||||
|
free (m);
|
||||||
return R_FALSE;
|
return R_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user