diff options
author | Edward Thomson <ethomson@github.com> | 2016-03-31 10:43:57 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2016-03-31 10:43:57 -0400 |
commit | c4aa5c042ce90eeaa9fe300febd5ed32f65519ce (patch) | |
tree | 0f4e054c28f791e9c9d586753ed15159b3096e9d | |
parent | 17442b28f9ba2dfa0fb596fe66c3a35847a8f606 (diff) | |
download | libgit2-c4aa5c042ce90eeaa9fe300febd5ed32f65519ce.tar.gz |
leaks: call `xdl_free_classifier`
-rw-r--r-- | src/xdiff/xprepare.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdiff/xprepare.c b/src/xdiff/xprepare.c index 3183d50eb..13b55aba7 100644 --- a/src/xdiff/xprepare.c +++ b/src/xdiff/xprepare.c @@ -305,7 +305,7 @@ int xdl_prepare_env(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp, return -1; } - if (XDF_DIFF_ALG((xpp->flags) & XDF_HISTOGRAM_DIFF)) + if (XDF_DIFF_ALG(xpp->flags) != XDF_HISTOGRAM_DIFF) xdl_free_classifier(&cf); return 0; |