On Mon, Jun 28, 2010 at 2:43 PM, <[email protected]> wrote:
>
> ProjectsipXecs
> New Revision18970
> Committerfowlerp
> Date2010-06-28 13:43:44 -0500 (Mon, 28 Jun 2010)
>
> Log
>
>  fix filestream leak

Peter,

to guarantee no leakage, I would recommend closing the streams in a
finally block outside the try block.  Also take a look at where
IOUtils.closeQuietly(stream) is used in many places as a convenient
way to close them.
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to