Commit a15156930bbfacfaad6e4f036d3fe89a12170406

Carlos Martín Nieto 2012-04-12T20:52:26

local transport: plug leak

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/transports/local.c b/src/transports/local.c
index fca8e64..01c72cb 100644
--- a/src/transports/local.c
+++ b/src/transports/local.c
@@ -118,6 +118,7 @@ static int store_refs(transport_local *t)
 			goto on_error;
 	}
 
+	git_strarray_free(&ref_names);
 	return 0;
 
 on_error: