summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-02-24 19:45:37 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-02-24 19:45:37 +0200
commit1d5d3e7b1686a9c04f8d276b14b571ddccfb1b51 (patch)
treee47425371f9a87b2b849e2db1e84e4b213c39c54
parent7ce98979eeaebaccba2d0ad4e4cdbe0e3d0d6ff2 (diff)
Fix leaked sdp_record_t
-rw-r--r--network/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/network/server.c b/network/server.c
index b155b9a2..af1a8664 100644
--- a/network/server.c
+++ b/network/server.c
@@ -197,6 +197,7 @@ static sdp_record_t *server_record_new(const char *name, uint16_t id)
sdp_set_info_attr(record, name, NULL, desc);
break;
default:
+ sdp_record_free(record);
return NULL;
}