diff options
author | Carlos Martín Nieto <cmn@elego.de> | 2011-04-07 11:24:16 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@elego.de> | 2011-04-07 17:15:38 +0200 |
commit | 493384e39c1ddfcc4badf962706e02302577d89f (patch) | |
tree | ed870edfccb92e3dbba6d8285261922b3886e4e0 /src/errors.c | |
parent | 6b45cb8a89cd3b133183a093719a144a402450e9 (diff) | |
download | libgit2-493384e39c1ddfcc4badf962706e02302577d89f.tar.gz |
config: make cvar_free behave more like other free functions
Make cvar_free return void instad of the next element, as it was
mostly a hack to make cvar_list_free shorter but it's now using the
list macros.
Also check if the input is NULL and return immediately in that case.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'src/errors.c')
0 files changed, 0 insertions, 0 deletions