{"action":"closed","issue":{"url":"https://api.github.com/repos/openssl/openssl/issues/558","labels_url":"https://api.github.com/repos/openssl/openssl/issues/558/labels{/name}","comments_url":"https://api.github.com/repos/openssl/openssl/issues/558/comments","events_url":"https://api.github.com/repos/openssl/openssl/issues/558/events","html_url":"https://github.com/openssl/openssl/issues/558","id":127027998,"number":558,"title":"warning: attempt to free a non-heap object 'recp' (1.1.0-pre2 with MinGW 5.3.0 LTO)","user":{"login":"vszakats","id":1446897,"avatar_url":"https://avatars.githubusercontent.com/u/1446897?v=3","gravatar_id":"","url":"https://api.github.com/users/vszakats","html_url":"https://github.com/vszakats","followers_url":"https://api.github.com/users/vszakats/followers","following_url":"https://api.github.com/users/vszakats/following{/other_user}","gists_url":"https://api.github.com/users/vszakats/gists{/gist_id}","starred_url":"https://api.github.com/users/vszakats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vszakats/subscriptions","organizations_url":"https://api.github.com/users/vszakats/orgs","repos_url":"https://api.github.com/users/vszakats/repos","events_url":"https://api.github.com/users/vszakats/events{/privacy}","received_events_url":"https://api.github.com/users/vszakats/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-16T14:19:35Z","updated_at":"2016-01-21T14:14:42Z","closed_at":"2016-01-21T14:14:42Z","body":"When building latest curl `master/HEAD` against OpenSSL 1.1.0-pre2 (in LTO mode, using MinGW 5.3.0), this warning is shown at the link phase of `curl.exe`:\r\n\r\n32-bit:\r\n```\r\nIn function 'CRYPTO_free',\r\n    inlined from 'BN_RECP_CTX_free' at bn_recp.c:90:9,\r\n    inlined from 'BN_mod_exp_recp' at bn_exp.c:396:5,\r\n    inlined from 'BN_mod_exp' at bn_exp.c:256:13:\r\nmem.c:245:5: warning: attempt to free a non-heap object 'recp' [-Wfree-nonheap-object]\r\n```\r\n\r\nLive log:\r\nhttps://ci.appveyor.com/project/vsz/harbour-deps/build/1.0.348#L3477\r\n\r\n64-bit\r\n```\r\nIn function 'CRYPTO_free',\r\n    inlined from 'BN_RECP_CTX_free' at bn_recp.c:90:9,\r\n    inlined from 'BN_mod_exp_recp' at bn_exp.c:396:5:\r\nmem.c:245:5: warning: attempt to free a non-heap object 'recp' [-Wfree-nonheap-object]\r\n```\r\n\r\nLive log:\r\nhttps://ci.appveyor.com/project/vsz/harbour-deps/build/1.0.348#L7589\r\n"}}