runtests.pl: try fixing unitialized $allocs

```
Use of uninitialized value $allocs in numeric gt (>) at ../../tests/runtests.pl line 1729.
```
https://github.com/curl/curl/actions/runs/16178889943/job/45670573824?pr=17877#step:39:165
This commit is contained in:
Viktor Szakats 2025-07-09 21:57:21 +02:00
parent d2c0b6b2d6
commit f01ca10aa3
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -1722,7 +1722,7 @@ sub singletest_check {
$ok .= "m";
}
my @more=`$memanalyze -v "$logdir/$MEMDUMP"`;
my $allocs;
my $allocs = 0;
my $max = 0;
for(@more) {
if(/^Allocations: (\d+)/) {