[cmaster-next] [PATCH 1/2] ospfd: Fix memory leak when not using json