From: Jonathan A. Kollasch Date: Sat, 21 Sep 2013 00:46:05 +0000 (+0000) Subject: rx_multi: free the quantity of memory we allocated X-Git-Tag: openafs-stable-1_8_0pre1~999 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=1c2dcda92ba246e52860f71513447a045c38082a;hp=33154874bf9d1549552ddedf68d01cff2217bf82 rx_multi: free the quantity of memory we allocated Change-Id: I3a666bb5c3b8b9ab222d1170095e46116fac4229 Reviewed-on: http://gerrit.openafs.org/10266 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear --- diff --git a/src/rx/rx_multi.c b/src/rx/rx_multi.c index 3362755..85cca41 100644 --- a/src/rx/rx_multi.c +++ b/src/rx/rx_multi.c @@ -117,7 +117,7 @@ multi_Finalize(struct multi_handle *mh) MUTEX_DESTROY(&mh->lock); CV_DESTROY(&mh->cv); osi_Free(mh->calls, sizeof(struct rx_call *) * nCalls); - osi_Free(mh->ready, sizeof(short *) * nCalls); + osi_Free(mh->ready, sizeof(short) * nCalls); osi_Free(mh, sizeof(struct multi_handle)); } @@ -135,6 +135,6 @@ multi_Finalize_Ignore(struct multi_handle *mh) MUTEX_DESTROY(&mh->lock); CV_DESTROY(&mh->cv); osi_Free(mh->calls, sizeof(struct rx_call *) * nCalls); - osi_Free(mh->ready, sizeof(short *) * nCalls); + osi_Free(mh->ready, sizeof(short) * nCalls); osi_Free(mh, sizeof(struct multi_handle)); }