diff --git a/src/causalBoosting.c b/src/causalBoosting.c index 9cf71f7..cc1e67c 100644 --- a/src/causalBoosting.c +++ b/src/causalBoosting.c @@ -289,7 +289,7 @@ double splitCriterion_propensity(double *y, int *tx, double *w, int *a, int *b, free(txA); free(cxA); free(txB); - free(txB); + free(cxB); free(txAw); free(cxAw); free(txBw);