changeset 1902:ac77c478e224 draft dhcpcd-5.6

Fix a memory leak
author Roy Marples <roy@marples.name>
date Thu, 04 Apr 2013 22:20:33 +0000
parents 5581854834a0
children 3f17dca949e6
files ipv6rs.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ipv6rs.c	Thu Apr 04 21:08:31 2013 +0000
+++ b/ipv6rs.c	Thu Apr 04 22:20:33 2013 +0000
@@ -743,6 +743,7 @@
 				free(rao->option);
 				free(rao);
 			}
+			free(opt);
 			continue;
 		}