[asterisk-commits] trunk r22933 - /trunk/http.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Apr 27 11:57:45 MST 2006


Author: mogorman
Date: Thu Apr 27 13:57:45 2006
New Revision: 22933

URL: http://svn.digium.com/view/asterisk?rev=22933&view=rev
Log:
dont free unallocated block ,and dont close a fd
we never opened. bug #7045

Modified:
    trunk/http.c

Modified: trunk/http.c
URL: http://svn.digium.com/view/asterisk/trunk/http.c?rev=22933&r1=22932&r2=22933&view=diff
==============================================================================
--- trunk/http.c (original)
+++ trunk/http.c Thu Apr 27 13:57:45 2006
@@ -493,9 +493,6 @@
 				close(ser->fd);
 				free(ser);
 			}
-		} else {
-			close(ser->fd);
-			free(ser);
 		}
 	}
 	return NULL;



More information about the asterisk-commits mailing list