BAIL_ON_WBC_ERROR(wbc_ret);
strncpy(request.data.sid, sid_string, sizeof(request.data.sid)-1);
- free(sid_string);
+ wbcFreeMemory(sid_string);
/* Make request */
BAIL_ON_WBC_ERROR(wbc_ret);
strncpy(request.data.sid, sid_string, sizeof(request.data.sid)-1);
- free(sid_string);
+ wbcFreeMemory(sid_string);
/* Make request */
BAIL_ON_WBC_ERROR(wbc_ret);
strncpy(request.data.sid, sid_string, sizeof(request.data.sid)-1);
- free(sid_string);
+ wbcFreeMemory(sid_string);
/* Make request */
BAIL_ON_WBC_ERROR(ret);
strncpy(request.data.sid, sid_string, sizeof(request.data.sid)-1);
+ wbcFreeMemory(sid_string);
/* Even if all the Rids were of maximum 32bit values,
we would only have 11 bytes per rid in the final array