mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
chan_ooh323: Fix cppcheck warnings
Fix cppcheck warnings about redundant conditions and possible null pointer usage ASTERISK-27793 #close Reported by: Ilya Shipitsin Tested by: Ilya Shipitsin Change-Id: I0b31933b062a23331dbac9a82b8bcfe345f406f6
This commit is contained in:
@@ -5053,9 +5053,7 @@ struct ast_frame *ooh323_rtp_read(struct ast_channel *ast, struct ooh323_pvt *p)
|
||||
ast_log(LOG_NOTICE, "Failed to async goto '%s' into fax of '%s'\n", ast_channel_name(p->owner),target_context);
|
||||
}
|
||||
p->faxdetected = 1;
|
||||
if (dfr) {
|
||||
ast_frfree(dfr);
|
||||
}
|
||||
ast_frfree(dfr);
|
||||
return &ast_null_frame;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user