summaryrefslogtreecommitdiff
path: root/src/iptables.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iptables.c')
-rwxr-xr-xsrc/iptables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/iptables.c b/src/iptables.c
index dd1b2e63..c65f9efc 100755
--- a/src/iptables.c
+++ b/src/iptables.c
@@ -2311,6 +2311,10 @@ int __connman_iptables_commit(const char *table_name)
return -EINVAL;
repl = iptables_blob(table);
+#if defined TIZEN_EXT
+ if(!repl)
+ return -ENOMEM;
+#endif
if (debug_enabled)
dump_ipt_replace(repl);