1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 01:27:11 +03:00
systemd/src/bootchart
Zbigniew Jędrzejewski-Szmek 40c2cce772 bootchart: fix two unitialized memory frees
The new gcc isn't bad!

In file included from src/bootchart/svg.c:36:0:
src/bootchart/svg.c: In function 'svg_ps_bars':
./src/shared/util.h:524:13: warning: 'enc_name' may be used uninitialized in this function [-Wmaybe-uninitialized]
         free(*(void**) p);
             ^
src/bootchart/svg.c:821:37: note: 'enc_name' was declared here
                 char _cleanup_free_*enc_name;
                                     ^
  CC     src/udev/mtd_probe/mtd_probe-probe_smartmedia.o
  XSLT     man/systemd.unit.5
In file included from src/bootchart/svg.c:36:0:
src/bootchart/svg.c: In function 'svg_pss_graph':
./src/shared/util.h:524:13: warning: 'enc_name' may be used uninitialized in this function [-Wmaybe-uninitialized]
         free(*(void**) p);
             ^
src/bootchart/svg.c:395:37: note: 'enc_name' was declared here
                 char _cleanup_free_*enc_name;
                                     ^
2013-03-21 22:39:23 -04:00
..
bootchart.c bootchart: bump RLIMIT_NOFILE only after we forked us off, so that the init system inherits the kernel default 2013-03-11 22:54:36 +01:00
bootchart.conf bootchart: use conf-parser & CamelCase names in .conf 2013-02-14 21:36:45 +01:00
bootchart.h bootchart: various superficial cleanups 2013-03-11 22:47:58 +01:00
Makefile build-sys: add makefile to bootchart 2013-01-21 01:04:16 +01:00
store.c bootchart: various superficial cleanups 2013-03-11 22:47:58 +01:00
store.h bootchart: various superficial cleanups 2013-03-11 22:47:58 +01:00
svg.c bootchart: fix two unitialized memory frees 2013-03-21 22:39:23 -04:00
svg.h bootchart: various superficial cleanups 2013-03-11 22:47:58 +01:00