Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/acpica/dist/compiler CID 1320410: Don't cal...



details:   https://anonhg.NetBSD.org/src/rev/bb6b82f77218
branches:  trunk
changeset: 340190:bb6b82f77218
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 26 02:01:55 2015 +0000

description:
CID 1320410: Don't call free on uninitalized pointer.

diffstat:

 sys/external/bsd/acpica/dist/compiler/aslopcodes.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 384943b28d47 -r bb6b82f77218 sys/external/bsd/acpica/dist/compiler/aslopcodes.c
--- a/sys/external/bsd/acpica/dist/compiler/aslopcodes.c        Wed Aug 26 01:58:55 2015 +0000
+++ b/sys/external/bsd/acpica/dist/compiler/aslopcodes.c        Wed Aug 26 02:01:55 2015 +0000
@@ -1314,7 +1314,6 @@
         Node = Node->Asl.Next;
     }
 
-    UtLocalFree (Buffer, ACPI_PLD_BUFFER_SIZE);
     Buffer = OpcEncodePldBuffer(&PldInfo);
 
     /* Change Op to a Buffer */



Home | Main Index | Thread Index | Old Index