summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-05-03 17:30:37 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-05-03 17:30:37 +0000
commitd1caf26728d0a7973feb283a5d76c899007969db (patch)
treeee18b55351db8a19f108a3bfe4a34975383c7585
parentb569ebd593e4a790306236323ae2ccb9483610a4 (diff)
no point in clearing a local variable just before return
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--channel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/channel.c b/channel.c
index aba97cf7f..c38b37547 100644
--- a/channel.c
+++ b/channel.c
@@ -1033,7 +1033,6 @@ int ast_channel_datastore_free(struct ast_datastore *datastore)
/* Finally free memory used by ourselves */
free(datastore);
- datastore = NULL;
return res;
}