git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pci-v5.18-changes-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git]
/
samples
/
livepatch
/
livepatch-shadow-fix1.c
diff --git
a/samples/livepatch/livepatch-shadow-fix1.c
b/samples/livepatch/livepatch-shadow-fix1.c
index 918ce17b43fda2d732075a6720f1655fbd22f577..6701641bf12d454a770e49abeeb0dea92560e55e 100644
(file)
--- a/
samples/livepatch/livepatch-shadow-fix1.c
+++ b/
samples/livepatch/livepatch-shadow-fix1.c
@@
-109,9
+109,9
@@
static void livepatch_fix1_dummy_leak_dtor(void *obj, void *shadow_data)
void *d = obj;
int **shadow_leak = shadow_data;
- kfree(*shadow_leak);
pr_info("%s: dummy @ %p, prevented leak @ %p\n",
__func__, d, *shadow_leak);
+ kfree(*shadow_leak);
}
static void livepatch_fix1_dummy_free(struct dummy *d)