diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-02-27 16:14:54 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-02-27 16:14:54 +0100 |
commit | ca14f3a1a2da4ecb7dc0293b73585798c7699200 (patch) | |
tree | 45ea57fd68dd9a88dd3483e4d1be915714e01e8e /src/ui/occupantswin.c | |
parent | 16f5106f10e434779186c63b94d82d1ebb14d21f (diff) | |
download | profani-tty-ca14f3a1a2da4ecb7dc0293b73585798c7699200.tar.gz |
Fix memory leak in win_create_muc()
I suspect this was just a copy paste error. `_win_create_simple_layout()` is called in other creation functions like `win_create_config()` or `win_create_private()`. I suspect when `win_create_muc()` was created it was just copied. But in this function we actually set the layout ourself later. So calling the function isn't needed. Regards https://github.com/profanity-im/profanity/issues/1279
Diffstat (limited to 'src/ui/occupantswin.c')
0 files changed, 0 insertions, 0 deletions