char errbuf[1024];
ERROR ("openvpn plugin: malloc failed: %s",
sstrerror (errno, errbuf, sizeof (errbuf)));
+ sfree (status_file);
return (1);
}
temp->file = status_file;
if (vpn_list == NULL)
{
char errbuf[1024];
- ERROR ("openvpn plugin: malloc failed: %s",
+ ERROR ("openvpn plugin: realloc failed: %s",
sstrerror (errno, errbuf, sizeof (errbuf)));
sfree (temp->file);