]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
[Bug 361] certain docq files are not removed by faxqclean
authorDarren Nickerson <darren.nickerson@ifax.com>
Tue, 1 Oct 2002 22:19:30 +0000 (22:19 +0000)
committerDarren Nickerson <darren.nickerson@ifax.com>
Tue, 1 Oct 2002 22:19:30 +0000 (22:19 +0000)
Now they are, thanks to a nice catch by Charly Baker and careful testing
by Lee. Thanks fellas!

faxd/faxQCleanApp.c++

index 31e27476efd4d886aa4d3bfcc2d98a71e602a15a..f897b0bb9d3ab5c2b84a00c2cee61fff048d3420 100644 (file)
@@ -394,9 +394,10 @@ faxQCleanApp::expungeCruft(void)
                    }
                }
                closedir(dir1);
-               if(got_match)
+               if(got_match) {
                    free(base);
                    continue;
+               }
                if(trace)
                    printf("%s: did not find base '%s' match.\n", 
                        (const char *) file, base);