aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rwxr-xr-xfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.c b/file.c
index 9cdaec575..249dd4e1e 100755
--- a/file.c
+++ b/file.c
@@ -153,6 +153,7 @@ int ast_format_unregister(char *name)
ast_verbose( VERBOSE_PREFIX_2 "Unregistered format %s\n", name);
return 0;
}
+ tmpl = tmp;
tmp = tmp->next;
}
ast_log(LOG_WARNING, "Tried to unregister format %s, already unregistered\n", name);