X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fhashkit_functions.c;h=842f511f0f34db0a21426f8d4f0bef69adb562c0;hb=4effcb18b27e2d84a8b29bc311b5edbee3c004b6;hp=005143a0b2e44f7794b70778211fda92ad992d16;hpb=c15e27789bf0ba95ae05e70628a1eb39016159c9;p=awesomized%2Flibmemcached diff --git a/tests/hashkit_functions.c b/tests/hashkit_functions.c index 005143a0..842f511f 100644 --- a/tests/hashkit_functions.c +++ b/tests/hashkit_functions.c @@ -248,7 +248,7 @@ static test_return_t hsieh_run (hashkit_st *hashk __attribute__((unused))) static test_return_t murmur_run (hashkit_st *hashk __attribute__((unused))) { -#ifdef __sparc +#ifdef WORDS_BIGENDIAN return TEST_SKIPPED; #else uint32_t x; @@ -467,6 +467,7 @@ static test_return_t hashkit_compare_test(hashkit_st *hashk) clone= hashkit_clone(NULL, hashk); test_true(hashkit_compare(clone, hashk)); + hashkit_free(clone); return TEST_SUCCESS; }