platform/upstream/freerdp.git
9 years agoMerge pull request #2908 from hardening/fix_region
Norbert Federa [Thu, 1 Oct 2015 09:28:47 +0000 (11:28 +0200)]
Merge pull request #2908 from hardening/fix_region

Fix a bug in region_union_rect()

9 years agoFix a bug in region_union_rect()
David FORT [Wed, 30 Sep 2015 19:14:43 +0000 (21:14 +0200)]
Fix a bug in region_union_rect()

When region_union_rect() was called with a rect that was above the region without
intersecting it, the first band was created too large. This patch fixes this and
add a unitary test.

All credits go to @nfedera that:
* found the bug;
* find a dataset to reproduce;
* code the unitary test;
* spotted a suspicious line that was the faulty one.

9 years agoMerge pull request #2903 from ssieb/fix-redir
Hardening [Thu, 24 Sep 2015 19:18:46 +0000 (21:18 +0200)]
Merge pull request #2903 from ssieb/fix-redir

Don't fail the redirect if padding wasn't sent before disconnecting

9 years agoDon't fail the redirect if padding wasn't sent before disconnecting
Samuel Sieb [Thu, 24 Sep 2015 17:37:21 +0000 (10:37 -0700)]
Don't fail the redirect if padding wasn't sent before disconnecting

9 years agoMerge pull request #2899 from awakecoding/master
Hardening [Mon, 21 Sep 2015 21:42:32 +0000 (23:42 +0200)]
Merge pull request #2899 from awakecoding/master

Standard RDP security server redirection fix

9 years agolibfreerdp-core: fix redirection with standard RDP security
Marc-André Moreau [Mon, 21 Sep 2015 19:36:19 +0000 (15:36 -0400)]
libfreerdp-core: fix redirection with standard RDP security

9 years agoMerge pull request #2897 from bjcollins/rail_fix_window_title
Martin Fleisz [Mon, 21 Sep 2015 12:31:47 +0000 (14:31 +0200)]
Merge pull request #2897 from bjcollins/rail_fix_window_title

Minor rail fixes/tweaks

9 years agoMerge pull request #2898 from bjcollins/smartcard_status_buffer_size
Hardening [Mon, 21 Sep 2015 11:50:29 +0000 (13:50 +0200)]
Merge pull request #2898 from bjcollins/smartcard_status_buffer_size

Fix use of invalid input causing SCARD_E_INSUFFICIENT_BUFFER errors

9 years agoDont use invalid/bogus input value for cbAtrLen for Smartcard Status Calls, instead...
bjcollins [Fri, 18 Sep 2015 21:55:06 +0000 (16:55 -0500)]
Dont use invalid/bogus input value for cbAtrLen for Smartcard Status Calls, instead just always use the max value here to indicate we have max
buffer space available.

9 years agofix window title for rail as it was not being set on initial window creation
bjcollins [Fri, 18 Sep 2015 21:14:30 +0000 (16:14 -0500)]
fix window title for rail as it was not being set on initial window creation
remove duplicate call to XStoreName when setting window title
expand WITH_XEXT #define for rail window rects as extra unecessary work was being done when WITH_XEXT was not defined

9 years agoMerge pull request #2896 from awakecoding/master
Marc-André Moreau [Fri, 18 Sep 2015 15:57:01 +0000 (11:57 -0400)]
Merge pull request #2896 from awakecoding/master

Win32 Gateway Fix, iOS TCP connection infinite loop fix

9 years agolibwinpr-synch: fix broken FD_ISSET check caused by hidden type cast from int to...
Marc-André Moreau [Fri, 18 Sep 2015 15:38:27 +0000 (11:38 -0400)]
libwinpr-synch: fix broken FD_ISSET check caused by hidden type cast from int to char

9 years agolibfreerdp-core: fix gateway connectivity on Windows
Marc-André Moreau [Thu, 17 Sep 2015 18:32:40 +0000 (14:32 -0400)]
libfreerdp-core: fix gateway connectivity on Windows

9 years agolibwinpr-sspi: don't warn about non-error security statuses
Marc-André Moreau [Thu, 17 Sep 2015 15:16:20 +0000 (11:16 -0400)]
libwinpr-sspi: don't warn about non-error security statuses

9 years agoMerge pull request #2895 from aballier/ffmpeg
Martin Fleisz [Thu, 17 Sep 2015 14:02:00 +0000 (16:02 +0200)]
Merge pull request #2895 from aballier/ffmpeg

channels/tsmf/client/ffmpeg: Fix build with ffmpeg git master.

9 years agochannels/tsmf/client/ffmpeg: Fix build with ffmpeg git master.
Alexis Ballier [Thu, 17 Sep 2015 08:36:44 +0000 (10:36 +0200)]
channels/tsmf/client/ffmpeg: Fix build with ffmpeg git 

Replace old, deprecated and now removed, APIs with their new equivalent while retaining backward compatibility with old ffmpeg versions.

9 years agoMerge pull request #2890 from realjiangms/shadow_fix_memory_leak
Martin Fleisz [Thu, 17 Sep 2015 08:33:43 +0000 (10:33 +0200)]
Merge pull request #2890 from realjiangms/shadow_fix_memory_leak

server: Fix several memory leak found while running valgrind on freerdp-shadow

9 years agoserver: Fix several memory leak while running valgrind on freerdp-shadow
zihao.jiang [Tue, 15 Sep 2015 15:17:22 +0000 (23:17 +0800)]
server: Fix several memory leak while running valgrind on freerdp-shadow

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Wed, 16 Sep 2015 14:41:32 +0000 (10:41 -0400)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

9 years agoMerge pull request #2889 from dvincent-devolutions/gateway
Marc-André Moreau [Wed, 16 Sep 2015 14:41:07 +0000 (10:41 -0400)]
Merge pull request #2889 from dvincent-devolutions/gateway

Fix RDP8 gateway disconnections

9 years agoSmall corrections to BIO implementation.
Denis Vincent [Wed, 16 Sep 2015 13:54:03 +0000 (09:54 -0400)]
Small corrections to BIO implementation.

9 years agolibfreerdp-crypto: add locking of operations dealing with SSL*
Marc-André Moreau [Tue, 15 Sep 2015 23:59:41 +0000 (19:59 -0400)]
libfreerdp-crypto: add locking of operations dealing with SSL*

9 years agolibfreerdp-core: alternative RDG BIO fix
Marc-André Moreau [Tue, 15 Sep 2015 17:03:11 +0000 (13:03 -0400)]
libfreerdp-core: alternative RDG BIO fix

9 years agolibfreerdp-core: fix code style
Marc-André Moreau [Tue, 15 Sep 2015 14:37:57 +0000 (10:37 -0400)]
libfreerdp-core: fix code style

9 years agoMerge pull request #2887 from FreeRDP/mh-file-api-extension
Martin Fleisz [Tue, 15 Sep 2015 13:57:56 +0000 (15:57 +0200)]
Merge pull request #2887 from FreeRDP/mh-file-api-extension

winpr/file: extend API

9 years agoMerge branch 'gateway' of https://github.com/dvincent-devolutions/FreeRDP
Marc-André Moreau [Tue, 15 Sep 2015 13:24:04 +0000 (09:24 -0400)]
Merge branch 'gateway' of https://github.com/dvincent-devolutions/FreeRDP

9 years agoMerge pull request #2886 from clangm/master
MartinHaimberger [Tue, 15 Sep 2015 13:16:37 +0000 (15:16 +0200)]
Merge pull request #2886 from clangm/master

Fix Network Characteristics Autodetect [RDPBCGR 2.2.14]

9 years agoMerge pull request #2888 from awakecoding/master
Marc-André Moreau [Tue, 15 Sep 2015 13:12:00 +0000 (09:12 -0400)]
Merge pull request #2888 from awakecoding/master

fix ARM64 data type portability

9 years agoMerge pull request #2879 from peterh/shape
Marc-André Moreau [Tue, 15 Sep 2015 13:08:47 +0000 (09:08 -0400)]
Merge pull request #2879 from peterh/shape

xfreerdp: Fix window shape

9 years agolibfreerdp-core: Gateway RDP8 BIO correction. Fixes connection losses.
Denis Vincent [Tue, 15 Sep 2015 13:03:39 +0000 (09:03 -0400)]
libfreerdp-core: Gateway RDP8 BIO correction. Fixes connection losses.

9 years agoMerge pull request #2763 from akallabeth/nla_null_auth
MartinHaimberger [Tue, 15 Sep 2015 12:53:55 +0000 (14:53 +0200)]
Merge pull request #2763 from akallabeth/nla_null_auth

Fixed server and client NLA state machine for NULL identity.

9 years agoMerge pull request #2859 from akallabeth/resource_leak_fix
MartinHaimberger [Tue, 15 Sep 2015 12:45:42 +0000 (14:45 +0200)]
Merge pull request #2859 from akallabeth/resource_leak_fix

Fixes API misuse and logic errors

9 years agowinpr/file: extend API
Martin Haimberger [Tue, 15 Sep 2015 11:14:30 +0000 (04:14 -0700)]
winpr/file: extend API

added windows code
fixed compiler issue

9 years agowinpr/file: extend API
Bernhard Miklautz [Mon, 14 Sep 2015 23:18:19 +0000 (01:18 +0200)]
winpr/file: extend API

Add function GetFileHandleForFileDescriptor to get
a file handle for a valid file descriptor.

9 years agoMerge pull request #2883 from bceverly/master
Hardening [Tue, 15 Sep 2015 07:07:15 +0000 (09:07 +0200)]
Merge pull request #2883 from bceverly/master

Updated OpenBSD changes

9 years agowinpr: fix ARM64 data type portability
Marc-André Moreau [Mon, 14 Sep 2015 18:34:24 +0000 (14:34 -0400)]
winpr: fix ARM64 data type portability

9 years agoMerge remote-tracking branch 'upstream/master'
Bryan Everly [Mon, 14 Sep 2015 17:21:00 +0000 (13:21 -0400)]
Merge remote-tracking branch 'upstream/master'

9 years agoCleaned up previous OpenBSD change per recommendation
Bryan Everly [Mon, 14 Sep 2015 17:20:11 +0000 (13:20 -0400)]
Cleaned up previous OpenBSD change per recommendation

9 years agoMerge pull request #2877 from bmiklautz/filehandling
MartinHaimberger [Mon, 14 Sep 2015 15:15:50 +0000 (17:15 +0200)]
Merge pull request #2877 from bmiklautz/filehandling

winpr/file refactoring and regular file support

9 years agoRemoved if statement that was causing network characteristics autodetect to not work
clangm [Fri, 11 Sep 2015 21:01:31 +0000 (15:01 -0600)]
Removed if statement that was causing network characteristics autodetect to not work

9 years agoUpdated OpenBSD changes
Bryan Everly [Fri, 11 Sep 2015 12:54:40 +0000 (08:54 -0400)]
Updated OpenBSD changes

9 years agoMerge pull request #2880 from bceverly/master
Hardening [Fri, 11 Sep 2015 07:43:48 +0000 (09:43 +0200)]
Merge pull request #2880 from bceverly/master

Fixes for OpenBSD port

9 years agoFixes for OpenBSD port
Bryan Everly [Fri, 11 Sep 2015 01:31:13 +0000 (21:31 -0400)]
Fixes for OpenBSD port

9 years agoxfreerdp: Fix window shape
Peter Harris [Thu, 10 Sep 2015 22:15:55 +0000 (18:15 -0400)]
xfreerdp: Fix window shape

Don't abort the entire xf_rail_window_common function when the window is
already in the correct location.

To reproduce:
 - move an application off the edge of the screen
 - resize the window to cause a shape to be set
 - move the application window fully on the screen
 - resize the application window larger
 - note lack of drawing in newly enlarged portion of window

Bug introduced in abf6d4f71ea901e31ee2d1b4625fa805af6b0cc9 "xfreerdp:
prepare RAIL migration away from libfreerdp-rail" when
xf_rail_MoveWindow was copy-and-pasted into xf_rail_window_common
without noticing that the "return" would omit the rest of the combined
function, not just the portion that was pasted.

9 years agoMerge pull request #2878 from akallabeth/screen_orientation_types
Martin Fleisz [Thu, 10 Sep 2015 13:23:11 +0000 (15:23 +0200)]
Merge pull request #2878 from akallabeth/screen_orientation_types

Added ORIENTATION_PREFERENCE from WinUser.h.

9 years agoAdded ORIENTATION_PREFERENCE from WinUser.h.
Armin Novak [Thu, 10 Sep 2015 11:26:37 +0000 (13:26 +0200)]
Added ORIENTATION_PREFERENCE from WinUser.h.

9 years agowinpr/file: integrate pull request feedback
Bernhard Miklautz [Thu, 10 Sep 2015 09:50:10 +0000 (11:50 +0200)]
winpr/file: integrate pull request feedback

* simplify RemoveDirectory
* move std handle function into an extern C block

9 years agowinpr/file: don't close stdin/stdout/stderr
Bernhard Miklautz [Wed, 9 Sep 2015 15:07:40 +0000 (17:07 +0200)]
winpr/file: don't close stdin/stdout/stderr

If the handle is closed stdin/stdout/stderr should be left open.

9 years agowinpr/file: fix ios build
Bernhard Miklautz [Wed, 9 Sep 2015 14:59:03 +0000 (16:59 +0200)]
winpr/file: fix ios build

comm is only build on linux.

9 years agowinpr/file: initial regular file support
Bernhard Miklautz [Wed, 9 Sep 2015 14:47:03 +0000 (16:47 +0200)]
winpr/file: initial regular file support

Add initial support for "regular" files. First implemented call is
GetStdHandle to get stdin/stdout/stderr.

9 years agowinpr/file: refactoring
Bernhard Miklautz [Wed, 9 Sep 2015 13:48:59 +0000 (15:48 +0200)]
winpr/file: refactoring

The used method for initalizing and registering the handle creators
had certain disadvantages like that it was necessary to have the creators
initialized before the first call to CreateFile. In case of comm it
wouldn't have been possible to open an comm port without calling any
other call related function first.
Now the handle creators are initialized the first time CreateFile is
called. This way it is also possible to ensure a certain order of the
handler invocations.

This commit also splits out the client side named pipe code from
the generic file handling (now called generic.c instead of file.c) and
uses the new handle creator infrastructure to register.

9 years agoMerge pull request #2868 from nfedera/fix-inverted-pointer-colors
Bernhard Miklautz [Mon, 7 Sep 2015 09:42:07 +0000 (11:42 +0200)]
Merge pull request #2868 from nfedera/fix-inverted-pointer-colors

improve handling of inverted pointer colors

9 years agoMerge pull request #2873 from mfleisz/makecert_change
Bernhard Miklautz [Mon, 7 Sep 2015 09:15:51 +0000 (11:15 +0200)]
Merge pull request #2873 from mfleisz/makecert_change

makecert: Remove key usage attribute

9 years agoChecking for allocation value > 0
Armin Novak [Mon, 7 Sep 2015 09:10:27 +0000 (11:10 +0200)]
Checking for allocation value > 0

9 years agomakecert: Remove key usage attribute
Martin Fleisz [Mon, 7 Sep 2015 08:43:19 +0000 (10:43 +0200)]
makecert: Remove key usage attribute

The original makecert tool won't add this tribute to a generated
certificate. Adding this attribute might cause problems when using the
certificate with other apps (i.e. Qt SSL).

9 years agoMerge pull request #2872 from akallabeth/recording_fix
Hardening [Mon, 7 Sep 2015 08:26:34 +0000 (10:26 +0200)]
Merge pull request #2872 from akallabeth/recording_fix

Fixed error checking and recording reset.

9 years agoMerge pull request #2765 from akallabeth/connect_abort
MartinHaimberger [Mon, 7 Sep 2015 08:05:24 +0000 (10:05 +0200)]
Merge pull request #2765 from akallabeth/connect_abort

Connect abort and unified TCP connect

9 years agoFixed error checking and recording reset.
Armin Novak [Mon, 7 Sep 2015 07:24:45 +0000 (09:24 +0200)]
Fixed error checking and recording reset.

9 years agoFixed CreateProcess argument initialisation.
Armin Novak [Sat, 5 Sep 2015 16:55:08 +0000 (18:55 +0200)]
Fixed CreateProcess argument initialisation.

9 years agoEnable RFX for test connection, now required by sample server.
Armin Novak [Sat, 5 Sep 2015 15:00:27 +0000 (17:00 +0200)]
Enable RFX for test connection, now required by sample server.

9 years agoResetting abortEvent on disconnect to avoid race during connect.
Armin Novak [Sat, 5 Sep 2015 14:26:46 +0000 (16:26 +0200)]
Resetting abortEvent on disconnect to avoid race during connect.

9 years agoFixed error handling for rdp_client_connect fail.
Armin Novak [Sat, 5 Sep 2015 14:26:29 +0000 (16:26 +0200)]
Fixed error handling for rdp_client_connect fail.

9 years agoWSAEvent fixes ported from realjiangms pull 2870.
Armin Novak [Sat, 5 Sep 2015 13:18:01 +0000 (15:18 +0200)]
WSAEvent fixes ported from realjiangms pull 2870.

9 years agoRemoved rdp disconnect, using unified abortEvent instead.
Armin Novak [Sat, 5 Sep 2015 12:57:30 +0000 (14:57 +0200)]
Removed rdp disconnect, using unified abortEvent instead.

9 years agoMerge pull request #2869 from peterh/negorigin
Bernhard Miklautz [Fri, 4 Sep 2015 15:20:17 +0000 (17:20 +0200)]
Merge pull request #2869 from peterh/negorigin

X11 /app: Fix drawing with negative window origin

9 years agoFix drawing with negative window origin
Peter Harris [Thu, 3 Sep 2015 22:42:53 +0000 (18:42 -0400)]
Fix drawing with negative window origin

Since REGION16 uses unsigned values, when appWindow->x or appWindow->y
is negative, the region will have a very large left or top value.

Avoid this problem by clamping to 0 before casting to an unsigned value.

9 years agoimprove handling of inverted pointer colors
Norbert Federa [Thu, 3 Sep 2015 14:50:41 +0000 (16:50 +0200)]
improve handling of inverted pointer colors

9 years agoMerge pull request #2865 from akallabeth/h264_ignore_errors
Norbert Federa [Thu, 3 Sep 2015 12:42:36 +0000 (14:42 +0200)]
Merge pull request #2865 from akallabeth/h264_ignore_errors

[H264] ignore decoder errors

9 years agoMerge pull request #2867 from akallabeth/channel_error_reset
Martin Fleisz [Thu, 3 Sep 2015 12:22:40 +0000 (14:22 +0200)]
Merge pull request #2867 from akallabeth/channel_error_reset

Resetting channel error on freerdp_connect.

9 years agoResetting channel error on connect.
Armin Novak [Thu, 3 Sep 2015 11:43:08 +0000 (13:43 +0200)]
Resetting channel error on connect.

9 years agoFixed uninitialized environment block.
Armin Novak [Thu, 3 Sep 2015 11:37:16 +0000 (13:37 +0200)]
Fixed uninitialized environment block.

9 years agoIgnoring H264 decompression failures.
Armin Novak [Thu, 3 Sep 2015 10:05:02 +0000 (12:05 +0200)]
Ignoring H264 decompression failures.

When connecting to windows 8.1 machines the remote RDP server
implementation sometimes sends invalid H264 data. To avoid client
disconnections ignore the broken updates.

9 years agoGeneralized rdpgfx_decode to work with all codecs.
Armin Novak [Thu, 3 Sep 2015 10:00:22 +0000 (12:00 +0200)]
Generalized rdpgfx_decode to work with all codecs.

9 years agoReverted broken malloc size fix.
Armin Novak [Wed, 2 Sep 2015 11:57:04 +0000 (13:57 +0200)]
Reverted broken malloc size fix.

9 years agoMerge pull request #2861 from llyzs/winmm_volume_fix
Martin Fleisz [Wed, 2 Sep 2015 10:43:11 +0000 (12:43 +0200)]
Merge pull request #2861 from llyzs/winmm_volume_fix

rdpsnd/winmm: fix SetVolume when device is not opened.

9 years agoMerge pull request #2852 from bmiklautz/process_env
MartinHaimberger [Wed, 2 Sep 2015 08:09:11 +0000 (10:09 +0200)]
Merge pull request #2852 from bmiklautz/process_env

Update CreateProcess and rfx

9 years agordpsnd/winmm: fix SetVolume when device is not opened.
Vic Lee [Wed, 2 Sep 2015 07:15:15 +0000 (15:15 +0800)]
rdpsnd/winmm: fix SetVolume when device is not opened.

9 years agoFixed possible memory leak.
Armin Novak [Tue, 1 Sep 2015 10:34:40 +0000 (12:34 +0200)]
Fixed possible memory leak.

9 years agoFixed uninitialized values.
Armin Novak [Tue, 1 Sep 2015 10:27:54 +0000 (12:27 +0200)]
Fixed uninitialized values.

9 years agoFixed uninitialized values.
Armin Novak [Tue, 1 Sep 2015 10:21:25 +0000 (12:21 +0200)]
Fixed uninitialized values.

9 years agoFixed zero length allocation.
Armin Novak [Tue, 1 Sep 2015 10:05:22 +0000 (12:05 +0200)]
Fixed zero length allocation.

9 years agoFixed zero lenght allocation.
Armin Novak [Tue, 1 Sep 2015 09:58:43 +0000 (11:58 +0200)]
Fixed zero lenght allocation.

9 years agoFixed zero length allocation.
Armin Novak [Tue, 1 Sep 2015 09:57:22 +0000 (11:57 +0200)]
Fixed zero length allocation.

9 years agoFixed zero length allocation.
Armin Novak [Tue, 1 Sep 2015 09:56:02 +0000 (11:56 +0200)]
Fixed zero length allocation.

9 years agoFixed uninitialized memory.
Armin Novak [Tue, 1 Sep 2015 09:49:11 +0000 (11:49 +0200)]
Fixed uninitialized memory.

9 years agoFixed array out of bound access.
Armin Novak [Tue, 1 Sep 2015 09:44:15 +0000 (11:44 +0200)]
Fixed array out of bound access.

9 years agoFixed broken structure comparison.
Armin Novak [Tue, 1 Sep 2015 09:41:45 +0000 (11:41 +0200)]
Fixed broken structure comparison.

9 years agoFixed error handling of OSS audio plugin.
Armin Novak [Tue, 1 Sep 2015 09:39:56 +0000 (11:39 +0200)]
Fixed error handling of OSS audio plugin.

9 years agoFixed resource leak.
Armin Novak [Tue, 1 Sep 2015 09:31:12 +0000 (11:31 +0200)]
Fixed resource leak.

9 years agoMerge pull request #2825 from akallabeth/pointer_decoding_fix
Norbert Federa [Tue, 1 Sep 2015 09:09:42 +0000 (11:09 +0200)]
Merge pull request #2825 from akallabeth/pointer_decoding_fix

Fixed color pointer decoding.

9 years agoIgnore AND mask for 32 bit pointer.
Armin Novak [Tue, 1 Sep 2015 07:25:41 +0000 (09:25 +0200)]
Ignore AND mask for 32 bit pointer.

9 years agoMerge pull request #2855 from akallabeth/memleak_fixes
Bernhard Miklautz [Mon, 31 Aug 2015 07:50:21 +0000 (09:50 +0200)]
Merge pull request #2855 from akallabeth/memleak_fixes

Memleak fixes

9 years agoFixed broken cleanup code.
Armin Novak [Mon, 31 Aug 2015 07:13:15 +0000 (09:13 +0200)]
Fixed broken cleanup code.

9 years agoMerge pull request #2854 from bmiklautz/issue/2853
Hardening [Sun, 30 Aug 2015 20:31:08 +0000 (22:31 +0200)]
Merge pull request #2854 from bmiklautz/issue/2853

settings: update settings/help to match

9 years agoFixed cleanup code.
Armin Novak [Fri, 28 Aug 2015 09:46:24 +0000 (11:46 +0200)]
Fixed cleanup code.

9 years agoFixed memory leak.
Armin Novak [Fri, 28 Aug 2015 09:17:20 +0000 (11:17 +0200)]
Fixed memory leak.

9 years agosettings: update settings/help to match
Bernhard Miklautz [Fri, 28 Aug 2015 09:09:38 +0000 (11:09 +0200)]
settings: update settings/help to match

* wallpaper was off but help said "default: on"
* compression is on but help said "default: off"

Fixes #2853

9 years agoFixed memory leak.
Armin Novak [Fri, 28 Aug 2015 09:07:25 +0000 (11:07 +0200)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Fri, 28 Aug 2015 09:06:26 +0000 (11:06 +0200)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Fri, 28 Aug 2015 09:05:44 +0000 (11:05 +0200)]
Fixed memory leak.