diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-07 22:17:15 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-07 22:17:15 +0200 |
commit | 12e17c24c59d2f791b3182661e81cb1b5aabad52 (patch) | |
tree | 9bd1e10dd61127b2ae859b729058e9eda72e7bc3 /src | |
parent | use more macros and do not du null-check before free:ing, free does that for us (diff) | |
download | mds-12e17c24c59d2f791b3182661e81cb1b5aabad52.tar.gz mds-12e17c24c59d2f791b3182661e81cb1b5aabad52.tar.bz2 mds-12e17c24c59d2f791b3182661e81cb1b5aabad52.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libmdsserver/macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmdsserver/macros.h b/src/libmdsserver/macros.h index df18d0f..32024a3 100644 --- a/src/libmdsserver/macros.h +++ b/src/libmdsserver/macros.h @@ -272,7 +272,7 @@ /** - * `malloc` wrapper that returns whether the allocation was successful + * `malloc` wrapper that returns whether the allocation was not successful * * @param var The variable to which to assign the allocation * @param elements The number of elements to allocate @@ -284,7 +284,7 @@ /** - * `calloc` wrapper that returns whether the allocation was successful + * `calloc` wrapper that returns whether the allocation was not successful * * @param var The variable to which to assign the allocation * @param elements The number of elements to allocate |