2011-03-02 Michael Snyder <msnyder@vmware.com>
* maint.c (maintenance_do_deprecate): No need to check for NULL.
This commit is contained in:
parent
10dd8b5466
commit
240f9570d5
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
|||
2011-03-02 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* maint.c (maintenance_do_deprecate): No need to check for NULL.
|
||||
|
||||
* cli/cli-script.c (script_from_file): Add break for lint.
|
||||
|
||||
* mdebugread.c (parse_partial_symbols): Fix indent.
|
||||
|
|
|
@ -644,8 +644,6 @@ maintenance_do_deprecate (char *text, int deprecate)
|
|||
cmd->flags |= MALLOCED_REPLACEMENT;
|
||||
return;
|
||||
}
|
||||
/* If we get here, don't leak! */
|
||||
if (replacement != NULL)
|
||||
xfree (replacement);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue