X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=wordlist.c;h=6827ba282db2ecc5a7a64e2a02238d4a85991c27;hb=917ee39cc46d3d215b8cb9594c6223fbb19f4681;hp=b594253951d95ba7ace86347c7fca7d4cbb493df;hpb=72879375e37b8bbbd89fc641ddc102de804b3e1b;p=onak.git
diff --git a/wordlist.c b/wordlist.c
index b594253..6827ba2 100644
--- a/wordlist.c
+++ b/wordlist.c
@@ -13,17 +13,17 @@
* more details.
*
* You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * this program. If not, see .
*/
#include
#include
+#include
#include
#include "ll.h"
#include "decodekey.h"
-#include "log.h"
+#include "keystructs.h"
#include "wordlist.h"
/**
@@ -106,6 +106,7 @@ struct ll *makewordlistfromkey(struct ll *wordlist,
wordlist = lladd(wordlist, strdup(wl->object));
}
}
+ llfree(words, NULL);
free(uids[i]);
uids[i] = NULL;
}