Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
*/
static void free_expinv(ExpInv * ei)
{
- if (ei->name != NULL)
- nasm_free(ei->name);
- if (ei->label_text != NULL)
- nasm_free(ei->label_text);
+ nasm_free(ei->name);
+ nasm_free(ei->label_text);
nasm_free(ei);
}
* free it.
*/
while (b) {
- if (b->chunk)
- nasm_free(b->chunk);
+ nasm_free(b->chunk);
a = b;
b = b->next;
if (a != &blocks)
macro_start = nasm_zalloc(sizeof(*macro_start));
macro_start->text = nasm_quote(p, strlen(p));
macro_start->type = TOK_STRING;
- if (xsl)
- nasm_free(xsl);
+ nasm_free(xsl);
/*
* We now have a macro name, an implicit parameter count of
delete_Blocks();
while ((i = ipath)) {
ipath = i->next;
- if (i->path)
- nasm_free(i->path);
+ nasm_free(i->path);
nasm_free(i);
}
}