From 2ce8918759e9676a54791848fd2ac85f48a05016 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Wed, 1 Jan 2014 21:36:27 +0530 Subject: libglusterfs: Add missing goto in eh_new() Change-Id: I64bbd8d5d919e78286a0521b62ca75f22ad296fa BUG: 795419 Signed-off-by: Vijay Bellur Reviewed-on: http://review.gluster.org/6623 Tested-by: Gluster Build System Reviewed-by: Pranith Kumar Karampuri --- libglusterfs/src/event-history.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/event-history.c b/libglusterfs/src/event-history.c index 82baa521a..e89df09c9 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; -- cgit