Преглед изворни кода

sms: domain is not allocated in pkg by the module

- skip freeing in mod destroy
Daniel-Constantin Mierla пре 11 година
родитељ
комит
fc383b13c3
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      modules/sms/sms.c

+ 0 - 3
modules/sms/sms.c

@@ -668,9 +668,6 @@ static int sms_init(void)
 
 
 static int sms_exit(void)
 static int sms_exit(void)
 {
 {
-	if ((!domain_str) && (domain.s))
-		pkg_free(domain.s);
-
 	if (queued_msgs)
 	if (queued_msgs)
 		shm_free(queued_msgs);
 		shm_free(queued_msgs);