summaryrefslogtreecommitdiffstats
path: root/sdpd/cstate.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-08-23 15:08:16 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-08-23 15:08:16 +0000
commit9d960d25c193812b19f14a47d3592bca0b2f194f (patch)
tree9a0b9f5cca5b55be270878dd8b8b08c2347a2c42 /sdpd/cstate.c
parent1aa9e2bb9fbbdeeed3b2d5086929d0ed3bb42993 (diff)
Fix malloc() and bt_malloc() usage
Diffstat (limited to 'sdpd/cstate.c')
-rw-r--r--sdpd/cstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdpd/cstate.c b/sdpd/cstate.c
index d09e9423..ad23f4ec 100644
--- a/sdpd/cstate.c
+++ b/sdpd/cstate.c
@@ -63,7 +63,7 @@ sdp_buf_t *sdp_get_cached_rsp(sdp_cont_state_t *cstate)
uint32_t sdp_cstate_alloc_buf(sdp_buf_t *buf)
{
- sdp_cstate_list_t *cstate = (sdp_cstate_list_t *)malloc(sizeof(sdp_cstate_list_t));
+ sdp_cstate_list_t *cstate = malloc(sizeof(sdp_cstate_list_t));
uint8_t *data = malloc(buf->data_size);
memcpy(data, buf->data, buf->data_size);