All pastes #936605 Raw Edit

Untitled

public text v1 · immutable
·published 2008-03-10 14:55 UTC
rendered paste body
* channels/chan_local.c: In the case of an ast_channel allocation
	  failure, take the local_pvt out of the pvt list before destroying
	  it.

	* channels/chan_local.c: Fix a potential memory leak of the
	  local_pvt struct when ast_channel allocation fails. Also, in
	  passing, centralize the code necessary to destroy a local_pvt.