Browse Source

p_usrloc: fix compile warning, reported from Ovidiu

Henning Westerholt 14 years ago
parent
commit
6bfc018720
1 changed files with 3 additions and 0 deletions
  1. 3 0
      modules_k/p_usrloc/udomain.c

+ 3 - 0
modules_k/p_usrloc/udomain.c

@@ -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: