Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix #117: gmetric does not return error on send error

  • Loading branch information...
commit 40da62ed56899b5aaab69a04ff89940cb62e7636 1 parent 1d4bf53
@jbuchbinder jbuchbinder authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  gmetric/gmetric.c
View
3  gmetric/gmetric.c
@@ -127,6 +127,9 @@ main( int argc, char *argv[] )
if(rval)
{
fprintf(stderr,"There was an error sending to %d of the send channels.\n", rval);
+ Ganglia_metric_destroy(gmetric);
+ Ganglia_pool_destroy(global_context);
+ exit(1);
}
/* cleanup */
Please sign in to comment.
Something went wrong with that request. Please try again.