client: check if memory allocation fails

This commit is contained in:
Miroslav Lichvar
2015-08-05 15:47:00 +02:00
parent 12c434fdc0
commit ad34b26955
2 changed files with 8 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ OBJS = array.o cmdparse.o conf.o local.o logging.o main.o memory.o mkdirpp.o \
EXTRA_OBJS=@EXTRA_OBJECTS@
CLI_OBJS = client.o nameserv.o getdate.o cmdparse.o \
CLI_OBJS = client.o cmdparse.o getdate.o memory.o nameserv.o \
pktlength.o util.o $(HASH_OBJ)
ALL_OBJS = $(OBJS) $(EXTRA_OBJS) $(CLI_OBJS)