Module: kamailio
Branch: master
Commit: b8373b9aeeb9d4d4b0b56f6f4de3a358bd224daf
URL: 
https://github.com/kamailio/kamailio/commit/b8373b9aeeb9d4d4b0b56f6f4de3a358bd224daf

Author: Xenofon Karamanos <22965395+xkara...@users.noreply.github.com>
Committer: Henning Westerholt <h...@gilawa.com>
Date: 2025-06-06T15:43:16+02:00

file_out: Consistent check

---

Modified: src/modules/file_out/file_out.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/b8373b9aeeb9d4d4b0b56f6f4de3a358bd224daf.diff
Patch: 
https://github.com/kamailio/kamailio/commit/b8373b9aeeb9d4d4b0b56f6f4de3a358bd224daf.patch

---

diff --git a/src/modules/file_out/file_out.c b/src/modules/file_out/file_out.c
index 149059e0e68..7a275d59022 100644
--- a/src/modules/file_out/file_out.c
+++ b/src/modules/file_out/file_out.c
@@ -206,7 +206,7 @@ static void destroy(void)
                }
        }
 
-       if(fo_prefix_buf) {
+       if(fo_prefix_buf != NULL) {
                pkg_free(fo_prefix_buf);
        }
 

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to