Changeset 1098:f38d77f9cfd3 in freeDiameter for libfdproto
- Timestamp:
- May 9, 2013, 12:59:34 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/messages.c
r1096 r1098 137 137 DiamId_t msg_src_id; /* Diameter Id of the peer this message was received from. This string is malloc'd and must be freed */ 138 138 size_t msg_src_id_len; /* cached length of this string */ 139 139 struct fd_msg_pmdl msg_pmdl; /* list of permessagedata structures. */ 140 140 }; 141 141 … … 674 674 } 675 675 676 if ((obj->type == MSG_MSG) && (_M(obj)->msg_pmdl.sentinel.o != NULL)) { 677 ((void (*)(struct fd_msg_pmdl *))_M(obj)->msg_pmdl.sentinel.o)(&_M(obj)->msg_pmdl); 678 } 679 676 680 /* free the object */ 677 681 free(obj); … … 1496 1500 1497 1501 return 0; 1502 } 1503 1504 /* Retrieve the location of the pmd list for the message; return NULL if failed */ 1505 struct fd_msg_pmdl * fd_msg_pmdl_get(struct msg * msg) 1506 { 1507 CHECK_PARAMS_DO( CHECK_MSG(msg), return NULL ); 1508 return &msg->msg_pmdl; 1498 1509 } 1499 1510
Note: See TracChangeset
for help on using the changeset viewer.