commit | 314acc48fb17dce97513d15d4cbe886af4352de4 | [log] [tgz] |
---|---|---|
author | Yunlian Jiang <yunlian@google.com> | Fri Nov 11 23:57:58 2016 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Fri Nov 11 23:57:58 2016 +0000 |
tree | 4f108ae445f4d7e8d5a990ec2b6aacc0be71f36c | |
parent | 0ebc797f0ba144f88ee4275e889bea9e29cc6e28 [diff] | |
parent | 05ef6c51f694c27068afe280d668b7a430cc503e [diff] |
Merge "fix warning: Use of memory after it is freed" am: 05ef6c51f6 Change-Id: I5585c2e682356b76e009d5295eaf88390a9a31ca
diff --git a/msm8994/utils/loc_timer.c b/msm8994/utils/loc_timer.c index 2beca5f..56db489 100644 --- a/msm8994/utils/loc_timer.c +++ b/msm8994/utils/loc_timer.c
@@ -183,6 +183,7 @@ pthread_cond_destroy(&t->timer_cond); t_err: free(t); + t = NULL; _err: LOC_LOGD("%s:%d]: Exit\n", __func__, __LINE__); return t;