p_usrloc: fix compile warning, reported from Ovidiu
authorHenning Westerholt <henning.westerholt@1und1.de>
Fri, 27 May 2011 08:44:13 +0000 (10:44 +0200)
committerHenning Westerholt <henning.westerholt@1und1.de>
Fri, 27 May 2011 08:44:13 +0000 (10:44 +0200)
modules_k/p_usrloc/udomain.c

index 76bd5df..2d617c1 100644 (file)
@@ -133,8 +133,11 @@ int new_udomain(str* _n, int _s, udomain_t** _d)
 #endif
 
        return 0;
+
+#ifdef STATISTICS
 error2:
        shm_free((*_d)->table);
+#endif
 error1:
        shm_free(*_d);
 error0: