Correctly determine whether pow is available in libc on AIX 7 with xlc.
[gnulib.git] / lib / readtokens.c
index e29f20e..c65c1b1 100644 (file)
@@ -197,5 +197,7 @@ readtokens (FILE *stream,
   *tokens_out = tokens;
   if (token_lengths != NULL)
     *token_lengths = lengths;
+  else
+    free (lengths);
   return n_tokens;
 }