]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
The array is malloced by backtrace_symbols(), and must be freed
authorivan <sjingivan@gmail.com>
Wed, 21 Dec 2016 01:17:43 +0000 (17:17 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 21 Dec 2016 01:24:12 +0000 (17:24 -0800)
commit046099c9b59f29705b691f286ecb8f6bd97f4184
tree0458632ebf653de83d1a7aaf1decd8f889ce9c70
parent6ff2c8d7f714e71b1a24135c7cb7c2b743c52a98
The array is malloced by backtrace_symbols(), and must be freed

Summary:
The address of the array of string pointers is returned as the function result of backtrace_symbols().  This array is malloced by backtrace_symbols(), and must be freed by the caller.
Closes https://github.com/facebook/rocksdb/pull/1692

Differential Revision: D4355737

Pulled By: IslamAbdelRahman

fbshipit-source-id: 5742035
port/stack_trace.cc