Paste DHI38

Submitted on 6 March 2015 at 12:07 UTC
2580 views

Section 1 (text)

int fun(int a)
{
	int result = 0;
	char *buffer = kmalloc(SIZE);

	if (buffer == NULL)
		return -ENOMEM;

	if (condition1) {
		while (loop1) {
			...
		}
		result = 1;
		goto out;
	}
	...
out:
	kfree(buffer);
	return result;
}

Raw · Download

Pastee