Fix memory leak in LZMA decompressor
diff --git a/xzlib.c b/xzlib.c
index f43632b..8bafbd3 100644
--- a/xzlib.c
+++ b/xzlib.c
@@ -797,6 +797,8 @@
         xmlFree(state->in);
     }
     xmlFree(state->path);
+    if ((state->msg != NULL) && (state->err != LZMA_MEM_ERROR))
+        xmlFree(state->msg);
     ret = close(state->fd);
     xmlFree(state);
     return ret ? ret : LZMA_OK;