Project

General

Profile

0001-swapon-8-Fix-a-memory-leak-in-docrypt.patch

liweitianux, 10/21/2017 03:24 AM

View differences:

sbin/swapon/swapon.c
238 238
			break;
239 239
		asprintf(&buf, "/sbin/cryptsetup remove %s", id);
240 240
		system(buf);
241
		free(buf);
241 242
		free(id);
242 243
		break;
243 244
	case SWAPON:
244
-