Changeset 752:9e9840ccf059 in freeDiameter for libfdproto/messages.c
- Timestamp:
- Sep 24, 2011, 4:45:14 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/messages.c
r740 r752 1771 1771 } ); 1772 1772 avp->avp_storage.os.len = avp->avp_public.avp_len - GETAVPHDRSZ( avp->avp_public.avp_flags ); 1773 if (avp->avp_storage.os.len) { 1774 CHECK_MALLOC( avp->avp_storage.os.data = os0dup(avp->avp_source, avp->avp_storage.os.len) ); 1775 avp->avp_mustfreeos = 1; 1776 } else { 1777 avp->avp_storage.os.data = NULL; 1778 } 1773 CHECK_MALLOC( avp->avp_storage.os.data = os0dup(avp->avp_source, avp->avp_storage.os.len) ); 1774 avp->avp_mustfreeos = 1; 1779 1775 break; 1780 1776
Note: See TracChangeset
for help on using the changeset viewer.