help: comando exibe ajuda curta dos comandos.
[cascardo/declara.git] / lib / declaracao.c
index b1cfb55..7eef34c 100644 (file)
@@ -20,6 +20,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include "list.h"
+#include "conjuge.h"
 #include "sistema.h"
 #include "rendimento.h"
 #include "isento.h"
@@ -98,6 +99,7 @@ void declaracao_free(struct declaracao *dec)
        list_free(dec->bens, bem_free);
        list_free(dec->dependentes, dependente_free);
        pmhash_del(dec->totais);
+       conjuge_free(dec);
        sistema_free(dec);
        free(dec);
 }