[PATCH-perfbook 2/2] advsync: Fix call to free

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Johann Klähn <johann@xxxxxxxxxx>
---
 advsync/rt.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/advsync/rt.tex b/advsync/rt.tex
index ee0e7474..7b8af008 100644
--- a/advsync/rt.tex
+++ b/advsync/rt.tex
@@ -1947,7 +1947,7 @@ bool update_cal(short a, short b, short c)		\lnlbl[upd:b]
 	if (old_p == &default_cal)
 		return true;
 	synchronize_rcu();
-	free(p);
+	free(old_p);
 	return true;
 }							\lnlbl[upd:e]
 \end{VerbatimL}
-- 
2.34.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux