Btw - it would help if you marked this as the ibal/nd1 provider in the subject

> Need to free the temporary CA attribute buffer before returning.
> 
> Signed-off-by: Fab Tillier <[email protected]>
> 
> Index: NdAdapter.cpp
> ===================================================================
> --- NdAdapter.cpp     (revision 2818)
> +++ NdAdapter.cpp     (working copy)
> @@ -283,6 +283,7 @@ HRESULT CAdapter::Query(
>      pInfo->MaxCallerData = 56;
>      pInfo->MaxCalleeData = 148;
>      *pBufferSize = sizeof(ND_ADAPTER_INFO1);
> +    HeapFree( GetProcessHeap(), 0, pAttr );

I thought use of the process heap was to be avoided for ND providers?
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to