Blue Swirl cc59783211 Replace qemu_malloc + memset with qemu_mallocz
Replace a qemu_malloc call, followed by a memset, with qemu_mallocz.

Found with this Coccinelle semantic patch, adapted from
Coccinelle test package rule 94:
@@
type T;
expression x;
expression E;
@@

- x = (T)qemu_malloc(E)
+ x = qemu_mallocz(E)
  ...
(
- memset(x,0,E);
|
- memset(x,0,sizeof(*x));
)

Some files (tests/*) had to be filtered out.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2010-08-20 21:04:37 +00:00
2010-08-07 20:04:24 +04:00
2010-08-03 15:57:22 +02:00
2010-06-10 00:09:49 +02:00
2010-07-03 06:49:47 +00:00
2010-07-13 18:18:23 +02:00
2010-07-31 19:40:13 +00:00
2010-07-13 20:09:24 +02:00
2010-07-13 08:55:04 -05:00
2010-08-20 21:03:24 +00:00
2010-07-29 17:15:28 +02:00
2010-07-25 17:03:49 +02:00
2010-06-16 13:03:51 +01:00
2010-04-09 18:55:56 +02:00
2010-04-09 18:55:56 +02:00
2010-05-31 20:55:23 +02:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-07-22 05:52:09 +02:00
2010-05-24 15:18:23 -05:00
2010-03-17 11:16:15 -05:00
2010-04-01 21:51:59 +02:00
2010-04-01 21:51:59 +02:00
2010-06-13 19:00:50 +01:00
2010-07-24 14:42:29 +02:00
2010-08-10 16:25:15 -05:00
2010-06-16 13:03:51 +01:00
2010-03-29 19:24:00 +00:00
2010-05-22 08:02:12 +00:00
2010-05-10 11:36:03 -05:00
2010-05-10 11:36:03 -05:00
2010-06-11 15:25:14 -03:00
2010-06-16 13:03:51 +01:00
2010-07-26 17:35:54 -05:00
2010-03-21 08:28:47 +00:00
2010-05-22 08:24:49 +00:00
2010-07-26 17:36:14 -05:00
2010-05-22 08:02:12 +00:00
2010-06-13 19:00:50 +01:00
2010-06-13 19:00:50 +01:00
2010-08-20 21:03:24 +00:00
2010-08-15 09:45:28 +00:00
2010-06-27 19:25:25 +03:00
2010-08-15 09:45:28 +00:00
2010-05-19 12:45:54 -03:00
2010-07-01 14:27:13 -03:00
2010-07-01 14:27:13 -03:00
2010-08-15 09:46:24 +00:00
2010-06-19 07:47:42 +00:00
2010-07-30 23:05:51 +02:00
2010-06-15 09:41:59 +02:00
2010-05-17 10:20:04 +02:00
2010-05-19 12:45:54 -03:00
2010-07-06 10:36:28 -05:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-06-11 15:25:14 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-06-30 22:51:17 +02:00
2010-07-28 07:58:15 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%