Commit feb2c17e authored by Tyler Nichols's avatar Tyler Nichols

Plugged a memory leak.

parent 3e2631ab
......@@ -64,6 +64,7 @@ char *acquire_kernel_version (void) {
parsed_version = strsep(&full_kernel_version, " ");
filp_close(proc_version, 0);
kfree(full_kernel_version);
/*
* Switch filesystem context back to user space mode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment