--- libarchive-3.2.1.orig/libarchive/archive_write_add_filter_lz4.c	2016-03-19 19:16:07.000000000 +0100
+++ libarchive-3.2.1/libarchive/archive_write_add_filter_lz4.c	2016-09-24 03:02:39.587751961 +0200
@@ -386,11 +386,7 @@ archive_filter_lz4_free(struct archive_w
 #endif
 		else
 #endif
-#if LZ4_VERSION_MINOR >= 3
 			LZ4_freeStream(data->lz4_stream);
-#else
-			LZ4_free(data->lz4_stream);
-#endif
 	}
 	free(data->out_buffer);
 	free(data->in_buffer_allocated);
