summaryrefslogtreecommitdiff
path: root/masm/reftbl.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--masm/reftbl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/masm/reftbl.c b/masm/reftbl.c
index bdd1f07..198af83 100644
--- a/masm/reftbl.c
+++ b/masm/reftbl.c
@@ -12,13 +12,13 @@ int reftbl_init(struct reference_table *ref_tbl)
{
ref_tbl->len = RELTBL_INIT_LEN;
ref_tbl->count = 0;
- ref_tbl->references = malloc(sizeof(struct reference) *
+ ref_tbl->references = malloc(sizeof(struct reference) *
RELTBL_INIT_LEN);
- if (ref_tbl->references == NULL) {
- ERROR("cannot alloc");
- return M_ERROR;
- }
+ if (ref_tbl->references == NULL) {
+ ERROR("cannot alloc");
+ return M_ERROR;
+ }
return M_SUCCESS;
}