Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Fix big bugs.
details: https://anonhg.NetBSD.org/src/rev/2a9f16d0d0e3
branches: trunk
changeset: 968212:2a9f16d0d0e3
user: maxv <maxv%NetBSD.org@localhost>
date: Tue Jan 07 06:10:18 2020 +0000
description:
Fix big bugs.
diffstat:
sys/dev/raidframe/rf_compat32.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3742cfe9009a -r 2a9f16d0d0e3 sys/dev/raidframe/rf_compat32.c
--- a/sys/dev/raidframe/rf_compat32.c Mon Jan 06 21:04:58 2020 +0000
+++ b/sys/dev/raidframe/rf_compat32.c Tue Jan 07 06:10:18 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_compat32.c,v 1.7 2019/12/12 02:15:43 pgoyette Exp $ */
+/* $NetBSD: rf_compat32.c,v 1.8 2020/01/07 06:10:18 maxv Exp $ */
/*
* Copyright (c) 2017 Matthew R. Green
@@ -101,7 +101,7 @@
k_cfg = RF_Malloc(sizeof(*k_cfg));
if (k_cfg == NULL) {
RF_Free(k_cfg32, sizeof(RF_Config_t32));
- RF_Free(k_cfg, sizeof(RF_Config_t));
+ return ENOMEM;
}
k_cfg->numCol = k_cfg32->numCol;
k_cfg->numSpare = k_cfg32->numSpare;
Home |
Main Index |
Thread Index |
Old Index