[asterisk-commits] qwell: branch 1.8 r305473 - in /branches/1.8: ./ res/res_musiconhold.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Feb 1 11:04:28 CST 2011


Author: qwell
Date: Tue Feb  1 11:04:23 2011
New Revision: 305473

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=305473
Log:
Merged revisions 305472 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r305472 | qwell | 2011-02-01 11:02:09 -0600 (Tue, 01 Feb 2011) | 16 lines
  
  Merged revisions 305471 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r305471 | qwell | 2011-02-01 11:00:55 -0600 (Tue, 01 Feb 2011) | 9 lines
    
    Close file descriptor for timing source when a MOH class gets destroyed.
    
    (closes issue #18457)
    Reported by: mcallist
    Patches: 
          18457-closetimer.diff uploaded by qwell (license 4)
          18457-closetimer_trunk.diff uploaded by qwell (license 4)
    Tested by: qwell, loloski
  ........
................

Modified:
    branches/1.8/   (props changed)
    branches/1.8/res/res_musiconhold.c

Propchange: branches/1.8/
------------------------------------------------------------------------------
Binary property 'branch-1.6.2-merged' - no diff available.

Modified: branches/1.8/res/res_musiconhold.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/res/res_musiconhold.c?view=diff&rev=305473&r1=305472&r2=305473
==============================================================================
--- branches/1.8/res/res_musiconhold.c (original)
+++ branches/1.8/res/res_musiconhold.c Tue Feb  1 11:04:23 2011
@@ -1589,6 +1589,11 @@
 		class->filearray = NULL;
 	}
 
+	if (class->timer) {
+		ast_timer_close(class->timer);
+		class->timer = NULL;
+	}
+
 	/* Finally, collect the exit status of the monitor thread */
 	if (tid > 0) {
 		pthread_join(tid, NULL);




More information about the asterisk-commits mailing list