summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Lappo2017-03-23 16:32:30 -0500
committerMikhail Lappo2017-03-23 16:41:42 -0500
commit90f5d648489ca8304d7c3ca8995e4e0b9ddab6cb (patch)
treebe6f17d5c3bff674d92f441fd80675cc1b0fcb1e /libpixelflinger
parent26464914feccfce4b835bd73a1130ba5be069e8a (diff)
downloadplatform-system-core-90f5d648489ca8304d7c3ca8995e4e0b9ddab6cb.tar.gz
platform-system-core-90f5d648489ca8304d7c3ca8995e4e0b9ddab6cb.tar.xz
platform-system-core-90f5d648489ca8304d7c3ca8995e4e0b9ddab6cb.zip
Va_end should be used with va_start
va_start is used and va_end should be invoked accordingly Change-Id: Id7037aa8092438b27e445e5147972836602bfd55
Diffstat (limited to 'libpixelflinger')
-rw-r--r--libpixelflinger/codeflinger/mips64_disassem.c1
-rw-r--r--libpixelflinger/codeflinger/mips_disassem.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libpixelflinger/codeflinger/mips64_disassem.c b/libpixelflinger/codeflinger/mips64_disassem.c
index f28d72627..1856e5c0e 100644
--- a/libpixelflinger/codeflinger/mips64_disassem.c
+++ b/libpixelflinger/codeflinger/mips64_disassem.c
@@ -555,6 +555,7 @@ static void db_printf(const char* fmt, ...)
555 } else { 555 } else {
556 vprintf(fmt, argp); 556 vprintf(fmt, argp);
557 } 557 }
558 va_end(argp);
558} 559}
559 560
560/* 561/*
diff --git a/libpixelflinger/codeflinger/mips_disassem.c b/libpixelflinger/codeflinger/mips_disassem.c
index 3007b1534..83a9740ed 100644
--- a/libpixelflinger/codeflinger/mips_disassem.c
+++ b/libpixelflinger/codeflinger/mips_disassem.c
@@ -562,6 +562,7 @@ static void db_printf(const char* fmt, ...)
562 } else { 562 } else {
563 vprintf(fmt, argp); 563 vprintf(fmt, argp);
564 } 564 }
565 va_end(argp);
565} 566}
566 567
567 568