diff options
author | Dan Gudmundsson <[email protected]> | 2019-06-13 12:36:08 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2019-06-13 12:36:08 +0200 |
commit | 3d0ee801a5fa72deb9ea822e2328b5d5a9b06fb3 (patch) | |
tree | d417f493254b5f692330f7728abaff1a54a98611 /lib/wx | |
parent | d4a2bb907caf17f5cd4e816f5b3b4dcab8259025 (diff) | |
parent | b4e80a810e9d7c86b9d69f0d8cdaf9303318f109 (diff) | |
download | otp-3d0ee801a5fa72deb9ea822e2328b5d5a9b06fb3.tar.gz otp-3d0ee801a5fa72deb9ea822e2328b5d5a9b06fb3.tar.bz2 otp-3d0ee801a5fa72deb9ea822e2328b5d5a9b06fb3.zip |
Merge branch 'maint'
* maint:
Fix wxe_driver improper realloc call
Diffstat (limited to 'lib/wx')
-rw-r--r-- | lib/wx/c_src/wxe_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wx/c_src/wxe_driver.c b/lib/wx/c_src/wxe_driver.c index c9d299e0df..b94ec2f32d 100644 --- a/lib/wx/c_src/wxe_driver.c +++ b/lib/wx/c_src/wxe_driver.c @@ -214,7 +214,7 @@ standard_outputv(ErlDrvData drv_data, ErlIOVec* ev) if(binref == NULL) { /* realloc */ max = sd->max_bins + DEF_BINS; - driver_realloc(sd->bin, sizeof(WXEBinRef)*max); + sd->bin = driver_realloc(sd->bin, sizeof(WXEBinRef)*max); for(i=sd->max_bins; i < max; i++) { sd->bin[i].from = 0; } |