Permalink
Browse files

Fix memory leak (thanks Vladimir Rubtsov)

  • Loading branch information...
1 parent 1b0cafd commit 0fbdb8c57eb36b6b2faeb21f8656768c5100be13 @Vagabond committed Apr 27, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 c_src/syslog_drv.c
View
1 c_src/syslog_drv.c
@@ -143,6 +143,7 @@ static void syslogdrv_output(ErlDrvData handle, char *buff, int bufflen)
done:
driver_output(d->port, result.buff, result.index);
+ ei_x_free(&result);
}
/*

0 comments on commit 0fbdb8c

Please sign in to comment.