瀏覽代碼

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)
 {
-	if ((!domain_str) && (domain.s))
-		pkg_free(domain.s);
-
 	if (queued_msgs)
 		shm_free(queued_msgs);