diff options
author | kraxel <kraxel> | 2006-08-14 19:38:05 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2006-08-14 19:38:05 +0000 |
commit | c55cef8a5746323a490c488f55303061d031e5fd (patch) | |
tree | 8c516d670fbc56311845db1b0cef7a50cb4af659 /fb-gui.c | |
parent | ce4746a8a815fa225010bcf268b34c56daf93beb (diff) | |
download | fbida-c55cef8a5746323a490c488f55303061d031e5fd.tar.gz |
make valgrind happy
Diffstat (limited to 'fb-gui.c')
-rw-r--r-- | fb-gui.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -231,6 +231,7 @@ void shadow_init(void) sheight = fb_var.yres; shadow = malloc(sizeof(unsigned char*) * sheight); sdirty = malloc(sizeof(unsigned int) * sheight); + memset(sdirty,0, sizeof(unsigned int) * sheight); for (i = 0; i < sheight; i++) shadow[i] = malloc(swidth*3); shadow_clear(); |