projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2922732
)
devilhorns: ummmm lets not segv and run allover the stack shall we? memset the
author
Carsten Haitzler
<raster@rasterman.com>
Fri, 8 Feb 2013 03:35:11 +0000
(
03:35
+0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Fri, 8 Feb 2013 03:35:11 +0000
(
03:35
+0000)
size of memory we ALLOCATED!
SVN revision: 83757
src/lib/ecore_x/xlib/ecore_x_randr.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_x/xlib/ecore_x_randr.c
b/src/lib/ecore_x/xlib/ecore_x_randr.c
index
5fa6b07
..
ec016db
100644
(file)
--- a/
src/lib/ecore_x/xlib/ecore_x_randr.c
+++ b/
src/lib/ecore_x/xlib/ecore_x_randr.c
@@
-2307,7
+2307,7
@@
ecore_x_randr_move_crtcs(Ecore_X_Window root, const Ecore_X_Randr_Crtc *crtcs, i
int nw = 0, nh = 0;
info = alloca(ncrtc * sizeof(XRRCrtcInfo *));
- memset(info, 0, ncrtc * sizeof(XRRCrtcInfo));
+ memset(info, 0, ncrtc * sizeof(XRRCrtcInfo
*
));
ecore_x_randr_screen_size_range_get(root, NULL, NULL, &mw, &mh);
ecore_x_randr_screen_current_size_get(root, &sw, &sh, NULL, NULL);