Fix null pointer in disasm

This commit is contained in:
pancake 2012-12-18 15:46:00 +01:00
parent fd244a97ba
commit 0f6b4e34e1

View File

@ -393,7 +393,7 @@ toro:
} else {
f = NULL;
}
if (at == f->addr+f->size-analop.length) // HACK
if (f && at == f->addr+f->size-analop.length) // HACK
pre = "\\ ";
} else pre = " "; //r_cons_printf (" ");
}