Memory leak in chat_play if using 's' option

This commit is contained in:
MelwareDE 2010-07-09 20:37:21 +00:00
parent 412c182ee4
commit d492b5daa5
1 changed files with 1 additions and 1 deletions

View File

@ -541,8 +541,8 @@ static void chat_handle_events(struct ast_channel *c, struct capi_pvt *i,
capi_write_frame(iline, fr2);
} else {
ast_write(chan, fr2);
ast_frfree(fr2);
}
ast_frfree(fr2);
}
capi_write_frame(i, f);
}