server: Free parse result also in afs.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 1 Jan 2018 03:28:29 +0000 (04:28 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 13 Mar 2018 02:28:57 +0000 (03:28 +0100)
commit799df0ceb9d496cb11a60ad130d664836df69823
tree855bdcf04888b00c8cdba20ccfc48f13d35f7b0b
parent27e4eafccad381c523d9e62044f9f76c37302874
server: Free parse result also in afs.

Both the server and the afs process need to access the lopsub parse
result which is allocated and initialized prior to the fork(2) that
creates the afs process. Hence both processes should free this memory
on exit.

The new public free_lpr() frees the memory allocated by both parse result
structures.
afs.c
server.c
server.h