Fix minor memory leak.

MFC after:	3 days
This commit is contained in:
Pawel Jakub Dawidek
2012-01-21 20:13:37 +00:00
parent 10280ca601
commit 2ce9c023fd
+1
View File
@@ -812,6 +812,7 @@ resource_start: STR
sizeof(curres->hr_name)) >=
sizeof(curres->hr_name)) {
pjdlog_error("Resource name is too long.");
free(curres);
free($1);
return (1);
}