summaryrefslogtreecommitdiff
path: root/src/mediactl.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2011-09-05 18:24:07 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-09-06 12:20:04 +0200
commit2333126b3b5178e4670f01bfeaeec5948abb5546 (patch)
tree217239bbb18f5ca411bf86b46062e4e952924249 /src/mediactl.c
parentdfcdee310100fa0297f6d15dbadb673283c9a06a (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 'src/mediactl.c')
0 files changed, 0 insertions, 0 deletions