Fix fd leak 77/304177/2
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 11 Jan 2024 11:00:59 +0000 (20:00 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 12 Jan 2024 00:44:51 +0000 (09:44 +0900)
commit2423bd802acf21d4153c82f234acb9698e0f02bd
tree9ac0a2d99097cb7728d7c57378a4504a2baac8d5
parentf513f14290a386064adf98fe45b37d86c26089b1
Fix fd leak

If the Send() returns an error, the aul library should close the file
descriptor when the socket option is not AUL_SOCK_ASYNC.

Change-Id: I84119f6af4e0643d688f6c81a86de6491ba5a7af
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/aul_sock.cc