diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2011-09-05 18:24:07 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-09-06 12:20:04 +0200 |
commit | 2333126b3b5178e4670f01bfeaeec5948abb5546 (patch) | |
tree | 217239bbb18f5ca411bf86b46062e4e952924249 /636b48e43db57442fd631a7c5592e34da74f191d | |
parent | dfcdee310100fa0297f6d15dbadb673283c9a06a (diff) |
libmediactl: get rid of memset via using calloc
The code snippet
x = malloc(sizeof(*x));
memset(x, 0, sizeof(*x));
could be easily changed to
x = calloc(1, sizeof(*x));
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to '636b48e43db57442fd631a7c5592e34da74f191d')
0 files changed, 0 insertions, 0 deletions