Package: liblbfgs-dev
Version: 1.10-4
Severity: normal
File: liblbfgs
Tags: patch
_aligned_free is used in arithmetic_sse_float.h, but other headers use free()
in same position.
memblock will be allocated by posix_memalign in Linux, so please use free()
instead of _aligned_free.
Thanks.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages liblbfgs-dev:amd64 depends on:
ii liblbfgs0 1.10-4
liblbfgs-dev:amd64 recommends no packages.
liblbfgs-dev:amd64 suggests no packages.
-- no debconf information
--- ./lib/arithmetic_sse_float.h 2013-12-25 01:17:29.895857787 +0900
+++ ../travatar/git/travatar/src/liblbfgs/arithmetic_sse_float.h 2013-09-05 09:38:55.000000000 +0900
@@ -65,7 +65,11 @@
inline static void vecfree(void *memblock)
{
+#ifdef _MSC_VER
_aligned_free(memblock);
+#else
+ free(memblock);
+#endif
}
#define vecset(x, c, n) \