Changeset 5982 for pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c
- Timestamp:
- May 9, 2019 7:24:57 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c
r5860 r5982 515 515 #endif 516 516 517 if (pjmedia_endpt_atexit(endpt, pjmedia_srtp_deinit_lib) != PJ_SUCCESS)518 {517 status = pjmedia_endpt_atexit(endpt, pjmedia_srtp_deinit_lib); 518 if (status != PJ_SUCCESS) { 519 519 /* There will be memory leak when it fails to schedule libsrtp 520 520 * deinitialization, however the memory leak could be harmless, … … 522 522 * when the application terminates. 523 523 */ 524 PJ_LOG(4, (THIS_FILE, "Failed to register libsrtp deinit.")); 524 PJ_PERROR(4, (THIS_FILE, status, 525 "Failed to register libsrtp deinit.")); 526 527 /* Ignore this error */ 528 status = PJ_SUCCESS; 525 529 } 526 530 … … 1758 1762 status = pjmedia_transport_media_stop(srtp->member_tp); 1759 1763 if (status != PJ_SUCCESS) 1760 PJ_ LOG(4, (srtp->pool->obj_name,1761 "SRTP failed stop underlying media transport."));1764 PJ_PERROR(4, (srtp->pool->obj_name, status, 1765 "SRTP failed stop underlying media transport.")); 1762 1766 1763 1767 /* Finally, stop SRTP */
Note: See TracChangeset
for help on using the changeset viewer.