2299. [bug] Remove unnecessary NULL check in

bin/nsupdate/nsupdate.c. [RT #17475]
This commit is contained in:
Mark Andrews
2008-01-12 22:16:49 +00:00
parent e886663bb8
commit ddc792aa74
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
2299. [bug] Remove unnecessary NULL check in
bin/nsupdate/nsupdate.c. [RT #17475]
2298. [bug] isc_mutex_lock() failure not caught in
bin/tests/timers/t_timers.c. [RT #17468]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nsupdate.c,v 1.154 2007/09/16 02:37:12 marka Exp $ */
/* $Id: nsupdate.c,v 1.154.56.1 2008/01/12 22:16:49 marka Exp $ */
/*! \file */
@@ -1586,8 +1586,7 @@ update_addordelete(char *cmdline, isc_boolean_t isdelete) {
failure:
if (name != NULL)
dns_message_puttempname(updatemsg, &name);
if (rdata != NULL)
dns_message_puttemprdata(updatemsg, &rdata);
dns_message_puttemprdata(updatemsg, &rdata);
return (STATUS_SYNTAX);
}