Changeset 753:71833fa5e35f in freeDiameter
- Timestamp:
- Sep 24, 2011, 8:00:30 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/messages.c
r752 r753 1220 1220 /* Duplicate an octetstring if needed. */ 1221 1221 if (type == AVP_TYPE_OCTETSTRING) { 1222 if (value->os.len) { 1223 CHECK_MALLOC( avp->avp_storage.os.data = os0dup(value->os.data, value->os.len) ); 1224 avp->avp_mustfreeos = 1; 1225 } else { 1226 avp->avp_storage.os.data = NULL; 1227 } 1222 CHECK_MALLOC( avp->avp_storage.os.data = os0dup(value->os.data, value->os.len) ); 1223 avp->avp_mustfreeos = 1; 1228 1224 } 1229 1225
Note: See TracChangeset
for help on using the changeset viewer.