[Asterisk-cvs] asterisk/codecs codec_adpcm.c, 1.17, 1.18 codec_alaw.c, 1.10, 1.11 codec_g726.c, 1.9, 1.10 codec_gsm.c, 1.16, 1.17 codec_lpc10.c, 1.14, 1.15 codec_speex.c, 1.12, 1.13 codec_ulaw.c, 1.11, 1.12

mattf at lists.digium.com mattf at lists.digium.com
Thu May 12 13:34:49 CDT 2005


Update of /usr/cvsroot/asterisk/codecs
In directory mongoose.digium.com:/tmp/cvs-serv18082/codecs

Modified Files:
	codec_adpcm.c codec_alaw.c codec_g726.c codec_gsm.c 
	codec_lpc10.c codec_speex.c codec_ulaw.c 
Log Message:
Memory leak fixes Bug #4216


Index: codec_adpcm.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_adpcm.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- codec_adpcm.c	21 Apr 2005 06:02:44 -0000	1.17
+++ codec_adpcm.c	12 May 2005 17:40:44 -0000	1.18
@@ -574,6 +574,7 @@
        var = var->next;
       }
     }
+    ast_config_destroy(cfg);
   }
 }
 

Index: codec_alaw.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_alaw.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- codec_alaw.c	21 Apr 2005 06:02:44 -0000	1.10
+++ codec_alaw.c	12 May 2005 17:40:44 -0000	1.11
@@ -364,6 +364,7 @@
        var = var->next;
       }
     }
+    ast_config_destroy(cfg);
   }
 }
 

Index: codec_g726.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_g726.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- codec_g726.c	21 Apr 2005 06:02:44 -0000	1.9
+++ codec_g726.c	12 May 2005 17:40:44 -0000	1.10
@@ -1010,6 +1010,7 @@
        var = var->next;
       }
     }
+    ast_config_destroy(cfg);
   }
 }
 

Index: codec_gsm.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_gsm.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- codec_gsm.c	21 Apr 2005 06:02:44 -0000	1.16
+++ codec_gsm.c	12 May 2005 17:40:44 -0000	1.17
@@ -282,6 +282,7 @@
 			       var = var->next;
 			}
 		}
+		ast_config_destroy(cfg);
 	}
 }
 

Index: codec_lpc10.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_lpc10.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- codec_lpc10.c	21 Apr 2005 06:02:44 -0000	1.14
+++ codec_lpc10.c	12 May 2005 17:40:44 -0000	1.15
@@ -362,6 +362,7 @@
                                var = var->next;
                         }
                 }
+		ast_config_destroy(cfg);
         }
 }
 

Index: codec_speex.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_speex.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- codec_speex.c	21 Apr 2005 06:02:44 -0000	1.12
+++ codec_speex.c	12 May 2005 17:40:44 -0000	1.13
@@ -400,6 +400,7 @@
 				var = var->next;
 			}
 		}
+		ast_config_destroy(cfg);
 	}
 }
 

Index: codec_ulaw.c
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/codec_ulaw.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- codec_ulaw.c	21 Apr 2005 06:02:44 -0000	1.11
+++ codec_ulaw.c	12 May 2005 17:40:44 -0000	1.12
@@ -363,6 +363,7 @@
 	var = var->next;
       }
     }
+    ast_config_destroy(cfg);
   }
 }
 




More information about the svn-commits mailing list