diff options
Diffstat (limited to 'sdpd/servicedb.c')
-rw-r--r-- | sdpd/servicedb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sdpd/servicedb.c b/sdpd/servicedb.c index 8f5ff810..edf255ac 100644 --- a/sdpd/servicedb.c +++ b/sdpd/servicedb.c @@ -244,10 +244,8 @@ int sdp_record_remove(uint32_t handle) } r = (sdp_record_t *) p->data; - if (r) { + if (r) service_db = sdp_list_remove(service_db, r); - sdp_record_free(r); - } p = access_locate(handle); if (p) { |