diff options
-rw-r--r-- | libglusterfs/src/event-history.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/event-history.c b/libglusterfs/src/event-history.c index 82baa521aec..e89df09c935 100644 --- a/libglusterfs/src/event-history.c +++ b/libglusterfs/src/event-history.c @@ -29,6 +29,7 @@ eh_new (size_t buffer_size, gf_boolean_t use_buffer_once, gf_log ("", GF_LOG_ERROR, "allocating circular buffer failed"); GF_FREE (history); history = NULL; + goto out; } history->buffer = buffer; |