Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
parse_options: allocate a new array when concatenating
[gitweb.git]
/
xdiff
/
xprepare.c
diff --git
a/xdiff/xprepare.c
b/xdiff/xprepare.c
index 63a22c630e521969b08c8ecb1ce9fa3e0f3ff513..13b55aba7441bc84d2c5c075110e9ef798ba18f8 100644
(file)
--- a/
xdiff/xprepare.c
+++ b/
xdiff/xprepare.c
@@
-301,10
+301,11
@@
int xdl_prepare_env(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp,
xdl_free_ctx(&xe->xdf2);
xdl_free_ctx(&xe->xdf1);
+ xdl_free_classifier(&cf);
return -1;
}
- if (
!(xpp->flags & XDF_HISTOGRAM_DIFF)
)
+ if (
XDF_DIFF_ALG(xpp->flags) != XDF_HISTOGRAM_DIFF
)
xdl_free_classifier(&cf);
return 0;