diff options
Diffstat (limited to 'liblogdiag/ld-lua.c')
-rw-r--r-- | liblogdiag/ld-lua.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/liblogdiag/ld-lua.c b/liblogdiag/ld-lua.c index 32c641b..4998320 100644 --- a/liblogdiag/ld-lua.c +++ b/liblogdiag/ld-lua.c @@ -250,8 +250,7 @@ ld_lua_alloc (void *ud, void *ptr, size_t osize, size_t nsize) g_free (ptr); return NULL; } - else - return g_try_realloc (ptr, nsize); + return g_try_realloc (ptr, nsize); } /** |