projects
/
platform
/
core
/
telephony
/
phonenumber-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8130909
)
Return type check for phn_record_destroy()
79/258579/1
author
Abhimanyu Swami
<abhimanyu1.s@samsung.com>
Thu, 20 May 2021 10:04:34 +0000
(15:34 +0530)
committer
Abhimanyu Swami
<abhimanyu1.s@samsung.com>
Thu, 20 May 2021 10:04:34 +0000
(15:34 +0530)
Change-Id: If28a9c95c15cdfc5b23818d68e419e0843d5076b
Signed-off-by: Abhimanyu Swami <abhimanyu1.s@samsung.com>
common/phn-record.c
patch
|
blob
|
history
diff --git
a/common/phn-record.c
b/common/phn-record.c
index c7d7e6c020f3467850bf6a611dc625ec64e8d4f9..0e96ce6f6a8807d23716156eb39e17ca67d8c7c1 100644
(file)
--- a/
common/phn-record.c
+++ b/
common/phn-record.c
@@
-134,7
+134,9
@@
void phn_record_free(gpointer data)
{
phone_number_blocking_rule_h record = data;
- phn_record_destroy(record);
+ if (phn_record_destroy(record) != PHONE_NUMBER_ERROR_NONE){
+ ERR("phn_record_destroy() failed");
+ }
}
/* LCOV_EXCL_STOP */