aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2019-06-13 12:36:08 +0200
committerDan Gudmundsson <[email protected]>2019-06-13 12:36:08 +0200
commit3d0ee801a5fa72deb9ea822e2328b5d5a9b06fb3 (patch)
treed417f493254b5f692330f7728abaff1a54a98611 /lib
parentd4a2bb907caf17f5cd4e816f5b3b4dcab8259025 (diff)
parentb4e80a810e9d7c86b9d69f0d8cdaf9303318f109 (diff)
downloadotp-3d0ee801a5fa72deb9ea822e2328b5d5a9b06fb3.tar.gz
otp-3d0ee801a5fa72deb9ea822e2328b5d5a9b06fb3.tar.bz2
otp-3d0ee801a5fa72deb9ea822e2328b5d5a9b06fb3.zip
Merge branch 'maint'
* maint: Fix wxe_driver improper realloc call
Diffstat (limited to 'lib')
-rw-r--r--lib/wx/c_src/wxe_driver.c2
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;
}