]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Thu, 21 Dec 2006 21:37:45 +0000 (21:37 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 21 Dec 2006 21:37:45 +0000 (21:37 +0000)
ext/standard/browscap.c

index 33cd7cd3660f8f7e747b90ffec7b4a0e27e523a9..41ff3f071da598b521578121a7bfa281c12dd0d2 100644 (file)
@@ -350,9 +350,7 @@ PHP_FUNCTION(get_browser)
                }
        }
 
-       if (lookup_browser_name) {
-               efree(lookup_browser_name);
-       }
+       efree(lookup_browser_name);
 }
 /* }}} */