diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4778ab3..3ae0499 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -185,7 +185,7 @@ jobs: git clone https://github.com/redis/redis cd redis git checkout 7.0 - make SANITIZER=address REDIS_CFLAGS='-Werror' BUILD_TLS=yes + make SANITIZER=address REDIS_CFLAGS='-Werror' BUILD_TLS=yes MALLOC=libc - name: Install LCOV run: | sudo apt-get --assume-yes install lcov > /dev/null diff --git a/src/tairhash.c b/src/tairhash.c index bd97c84..08b29bc 100755 --- a/src/tairhash.c +++ b/src/tairhash.c @@ -55,13 +55,13 @@ void _moduleAssert(const char *estr, const char *file, int line) { *((char *)-1) = 'x'; } -inline struct TairHashVal *createTairHashVal(void) { +struct TairHashVal *createTairHashVal(void) { struct TairHashVal *o; o = RedisModule_Calloc(1, sizeof(*o)); return o; } -inline void tairHashValRelease(struct TairHashVal *o) { +void tairHashValRelease(struct TairHashVal *o) { if (o) { if (o->value) { RedisModule_FreeString(NULL, o->value);