commit | af1bb1e09fd6666fef56f93a4701ca090cbeda42 | [log] [tgz] |
---|---|---|
author | Benny Prijono <bennylp@teluu.com> | Tue Nov 21 12:39:31 2006 +0000 |
committer | Benny Prijono <bennylp@teluu.com> | Tue Nov 21 12:39:31 2006 +0000 |
tree | d3c5bc170635051fd0aaa3fa41ba26fc421693f1 | |
parent | a80d1cdd9b7039e17f921bd61f229783d8742c59 [diff] [blame] |
Fixed handles leak upon program exit, by introducing pj_shutdown() and pj_atexit(). Also fixed handle leaks in SIP transaction layer and SIP endpoint. git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@815 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip-apps/src/samples/siprtp.c b/pjsip-apps/src/samples/siprtp.c index 4fc236e..10d796e 100644 --- a/pjsip-apps/src/samples/siprtp.c +++ b/pjsip-apps/src/samples/siprtp.c
@@ -379,6 +379,10 @@ pjsip_endpt_destroy(app.sip_endpt); app.sip_endpt = NULL; } + + /* Shutdown PJLIB */ + pj_shutdown(); + }