platform/upstream/freerdp.git
9 years agoMerge pull request #2253 from nfedera/fix-2014-12-04-02
Bernhard Miklautz [Thu, 4 Dec 2014 17:04:25 +0000 (18:04 +0100)]
Merge pull request #2253 from nfedera/fix-2014-12-04-02

xfreerdp: smart sizing fix

9 years agoxfreerdp: smart sizing fix
Norbert Federa [Thu, 4 Dec 2014 16:52:54 +0000 (17:52 +0100)]
xfreerdp: smart sizing fix

Standard format PictStandardRGB24 is not always available.
Use XRenderFindVisualFormat instead of XRenderFindStandardFormat

9 years agoMerge pull request #2251 from nfedera/fix-2014-12-04-01
Bernhard Miklautz [Thu, 4 Dec 2014 15:38:00 +0000 (16:38 +0100)]
Merge pull request #2251 from nfedera/fix-2014-12-04-01

cliprdr: fix segfault caused by invalid seek value

9 years agocliprdr: fix segfault caused by invalid seek value
Norbert Federa [Thu, 4 Dec 2014 15:07:01 +0000 (16:07 +0100)]
cliprdr: fix segfault caused by invalid seek value

9 years agoMerge pull request #2110 from akallabeth/winpr_backtrace_windows
Martin Fleisz [Thu, 4 Dec 2014 14:03:37 +0000 (15:03 +0100)]
Merge pull request #2110 from akallabeth/winpr_backtrace_windows

Winpr backtrace windows

9 years agoUsing fixed size debug string buffers now.
Armin Novak [Thu, 4 Dec 2014 13:54:08 +0000 (14:54 +0100)]
Using fixed size debug string buffers now.

9 years agoMerge pull request #2248 from nfedera/fix-2014-12-03-02
Marc-André Moreau [Thu, 4 Dec 2014 02:23:17 +0000 (21:23 -0500)]
Merge pull request #2248 from nfedera/fix-2014-12-03-02

xfreerdp: fix cliprdr SelectionNotify enless loop

9 years agoxfreerdp: fix cliprdr SelectionNotify enless loop
Norbert Federa [Wed, 3 Dec 2014 23:19:23 +0000 (00:19 +0100)]
xfreerdp: fix cliprdr SelectionNotify enless loop

xf_cliprdr_process_selection_notify calls xf_cliprdr_send_client_format_list
if the SelectionNotify event property was None.
xf_cliprdr_send_client_format_list called XConvertSelection even if there
was no clipboard owner. In that case the XServer generates a SelectionNotify
event to the requestor (us) with property None and so on ...

The most obvious fix is to ensure that XConvertSelection is not called if
the owner is None which is done in this commit.

9 years agoxfreerdp: fix formating - indentation
Bernhard Miklautz [Wed, 3 Dec 2014 17:23:20 +0000 (18:23 +0100)]
xfreerdp: fix formating - indentation

9 years agoMerge pull request #2247 from bmiklautz/fix/resizing_race
Norbert Federa [Wed, 3 Dec 2014 17:21:53 +0000 (18:21 +0100)]
Merge pull request #2247 from bmiklautz/fix/resizing_race

xfreerdp: fix a possible re-size race condition

9 years agoxfreerdp: fix a possible re-size race condition
Bernhard Miklautz [Wed, 3 Dec 2014 17:08:01 +0000 (18:08 +0100)]
xfreerdp: fix a possible re-size race condition

In case of server side initiated desktop resize it could happen that the
client was "scaling" even if smart-sizing was disabled. The reason for
this was that the "scaled" width and height was set when the X Configure
event arrived but not in xf_desktop_resize.

9 years agoMerge pull request #2246 from nfedera/fix-2014-12-03-01
Bernhard Miklautz [Wed, 3 Dec 2014 14:58:34 +0000 (15:58 +0100)]
Merge pull request #2246 from nfedera/fix-2014-12-03-01

xfreerdp: smart-sizing and software-gdi fixes

9 years agoxfreerdp: smart-sizing and software-gdi fixes
Norbert Federa [Wed, 3 Dec 2014 14:41:10 +0000 (15:41 +0100)]
xfreerdp: smart-sizing and software-gdi fixes

* fixed crash on server-initiated desktop resize and fullscreen toggle with /gdi:sw
* implemented desktop resize for /gdi:sw
* check for availibility of XRender extension and show error messages if a setting would require it
* fixed compile error if xrender devel packages are missing
* fixed bug with server-initiated desktop resize in fullscreen mode

9 years agoMerge pull request #2240 from nfedera/fix-2014-12-01-01
Marc-André Moreau [Tue, 2 Dec 2014 19:04:49 +0000 (14:04 -0500)]
Merge pull request #2240 from nfedera/fix-2014-12-01-01

xfreerdp: pinch/pan fixes and smart-sizing

9 years agoMerge pull request #2244 from MartinHaimberger/mh-improveHandleHandling
Martin Fleisz [Tue, 2 Dec 2014 13:18:04 +0000 (14:18 +0100)]
Merge pull request #2244 from MartinHaimberger/mh-improveHandleHandling

improve handle handling and fix memory leak

9 years agoMerge pull request #2239 from bmiklautz/issue/2196
Norbert Federa [Tue, 2 Dec 2014 13:13:27 +0000 (14:13 +0100)]
Merge pull request #2239 from bmiklautz/issue/2196

core client side: set flag to crypt license

9 years agofixed compiler warning
Martin Haimberger [Tue, 2 Dec 2014 08:36:46 +0000 (00:36 -0800)]
fixed compiler warning

9 years agofixed win32 build
Martin Haimberger [Tue, 2 Dec 2014 08:27:30 +0000 (00:27 -0800)]
fixed win32 build

9 years agochanged processhandle handling to new system
Martin Haimberger [Tue, 2 Dec 2014 08:08:10 +0000 (00:08 -0800)]
changed processhandle handling to new system

9 years agofixing memoryleak by introducing a nonehandle
Martin Haimberger [Tue, 2 Dec 2014 07:53:58 +0000 (23:53 -0800)]
fixing memoryleak by introducing a nonehandle

In CreateProcess the non functional thread
handle was leaked.

9 years agoMerge pull request #2241 from akallabeth/extern_c_fix
Hardening [Mon, 1 Dec 2014 12:42:51 +0000 (13:42 +0100)]
Merge pull request #2241 from akallabeth/extern_c_fix

Extern c fix

9 years agoFixed missing extern C
Armin Novak [Mon, 1 Dec 2014 12:12:51 +0000 (13:12 +0100)]
Fixed missing extern C

9 years agoFixed missing extern C
Armin Novak [Mon, 1 Dec 2014 12:03:46 +0000 (13:03 +0100)]
Fixed missing extern C

9 years agoxfreerdp: added smart sizing, mt gesture fixes
Norbert Federa [Mon, 1 Dec 2014 10:56:44 +0000 (11:56 +0100)]
xfreerdp: added smart sizing, mt gesture fixes

- removed setting ScalingFactor
- added settings SmartSizingWidth and SmartSizingHeight
- changed option /smart-sizing to optionally support <width>x<height>
- consolidated transformation of input event coordinates
- rdp8 gfx ignored scaling and panning offsets: fixed
- never resize window on panning/pinching
- simplified keyboard multitouch gesture debugging emulation
- disabled keyboard multitouch gesture emulation debug code via define

9 years agoxfreerdp: remove duplicated drawing operations
Norbert Federa [Mon, 1 Dec 2014 10:19:27 +0000 (11:19 +0100)]
xfreerdp: remove duplicated drawing operations

Most of xfreerdp's hw gdi callbacks did the the same X11 drawing operation
twice: Initially on the primary pixmap to keep the back buffer up to date
and then directly on the window in order to see the result.
This sequence is followed by a call to gdi_InvalidateRegion() to mark the
rectangular area of the drawing operation.
Since in xfreerdp's current design (or better current evolved state) the
backbuffer pixmap is obligatory, all drawing operations directly targeting
the window are redundant because of the subsequent EndPaint (mapped to
xf_hw_end_paint) where the damaged region is copied from the backbuffer
to the drawable.

- removed X11 drawing operations which directly target the window drawable
- fixed some errors in the calculation of the required update regions

9 years agoxfreerdp: several fixes for panned/pinched drawing
Norbert Federa [Mon, 1 Dec 2014 10:17:16 +0000 (11:17 +0100)]
xfreerdp: several fixes for panned/pinched drawing

- use bilinear filter instead of nearest filter
- fixed invalid transformation matrix
- support non-proportional scaling
- fix calculation of transformed coordinates (rounding errors)

9 years agocore client side: set flag to crypt license
Bernhard Miklautz [Mon, 1 Dec 2014 10:12:34 +0000 (11:12 +0100)]
core client side: set flag to crypt license

Client side code always tells the server that it is capable of processing
encrypted licensing packages (SEC_LICENSE_ENCRYPT_SC) but didn't set
the recently added flag to indicate that.

Fixes #2196

9 years agoMerge pull request #2236 from marioli/master
Marc-André Moreau [Sun, 30 Nov 2014 02:08:36 +0000 (21:08 -0500)]
Merge pull request #2236 from marioli/master

Rename tcp-functions as they are conflicting with qemu functions

9 years agoRename tcp-functions as they are conflicting with qemu functions
Mario Lombardo [Sat, 29 Nov 2014 20:14:39 +0000 (21:14 +0100)]
Rename tcp-functions as they are conflicting with qemu functions

9 years agoMerge pull request #2225 from akallabeth/openh264_fix
Marc-André Moreau [Fri, 28 Nov 2014 16:23:11 +0000 (11:23 -0500)]
Merge pull request #2225 from akallabeth/openh264_fix

Openh264 v1.2 API

9 years agoMerge pull request #2234 from bmiklautz/fix/tls
Marc-André Moreau [Fri, 28 Nov 2014 16:00:27 +0000 (11:00 -0500)]
Merge pull request #2234 from bmiklautz/fix/tls

Transport and tsg fixes

9 years agotsg: fix possible free of initialized memory
Bernhard Miklautz [Thu, 27 Nov 2014 14:08:07 +0000 (15:08 +0100)]
tsg: fix possible free of initialized memory

9 years agotsg: rpc_send_enqueue_pdu always free buffer
Bernhard Miklautz [Thu, 27 Nov 2014 13:39:47 +0000 (14:39 +0100)]
tsg: rpc_send_enqueue_pdu always free buffer

rpc_send_enqueue_pdu returns -1 on error but the type of error isn't
distinguishable. Therefore make sure that the buffer gets always freed.
The only exception to this is when the pdu was already queued. Then the
dequeuing function should take care of freeing the buffer when
processing the pdu.

9 years agotsg: unwind recursion in tsg_read
Bernhard Miklautz [Tue, 25 Nov 2014 20:25:26 +0000 (21:25 +0100)]
tsg: unwind recursion in tsg_read

9 years agotransport: handle all return values of tsg_read
Bernhard Miklautz [Tue, 25 Nov 2014 21:55:39 +0000 (22:55 +0100)]
transport: handle all return values of tsg_read

tsg_read can also return 0 which means that no data (complete PDU) is
currently available. This case wasn't handled properly.

Fixes #2056

9 years agocrypto: revert pull request #2130
Bernhard Miklautz [Tue, 25 Nov 2014 17:58:36 +0000 (18:58 +0100)]
crypto: revert pull request #2130

The fix in #2130 eliminates the problem when connecting over a gateway
but introduces other problems server side and client side (client/server
can't detect anymore when a TCP connection was closed).

9 years agotsg: fix segfault
Bernhard Miklautz [Tue, 25 Nov 2014 19:09:14 +0000 (20:09 +0100)]
tsg: fix segfault

Revert false positive from commit 585d9101b752e4ec525339e5c5addfddb519760d
buffer shouldn't be freed since it is set and used in a stream.

9 years agoMerge pull request #2232 from Tarnyko/master
Hardening [Wed, 26 Nov 2014 10:17:21 +0000 (11:17 +0100)]
Merge pull request #2232 from Tarnyko/master

wlfreerdp: add keyboard and mouse wheel support, fix bugs

9 years agowlfreerdp: add keyboard and mouse wheel support, fix bugs
Manuel Bachmann [Wed, 26 Nov 2014 09:38:12 +0000 (10:38 +0100)]
wlfreerdp: add keyboard and mouse wheel support, fix bugs

This commit does the following:

* fix the keyboard logic (which now fully works), add support for vertical mouse wheel events ;
* make the rendering a lot more efficient, by using RDP damage information to refresh only the relevant part of the buffer ;
* fix two race conditions. wlfreerdp should not crash anymore now ;
* fix shm_open() and shm_unlink() calls ;
* improve the code style.

Signed-off-by: Manuel Bachmann <tarnyko@tarnyko.net>
9 years agoFixed OpenH264 detection script.
Armin Novak [Fri, 21 Nov 2014 09:28:38 +0000 (10:28 +0100)]
Fixed OpenH264 detection script.

9 years agoMerge pull request #2224 from hardening/rdpei_server
Marc-André Moreau [Thu, 20 Nov 2014 21:37:12 +0000 (16:37 -0500)]
Merge pull request #2224 from hardening/rdpei_server

Add server-side RDPEI

9 years agoMerge pull request #2223 from awakecoding/master
Marc-André Moreau [Thu, 20 Nov 2014 21:25:20 +0000 (16:25 -0500)]
Merge pull request #2223 from awakecoding/master

Clipboard, OS X Threads, Lync RDP Server

9 years agoAdd server-side RDPEI
Hardening [Thu, 20 Nov 2014 21:19:29 +0000 (22:19 +0100)]
Add server-side RDPEI

This patch mutualize code between client and server for RDPEI. And add support for
the server-side.

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Thu, 20 Nov 2014 21:14:44 +0000 (16:14 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

9 years agoMerge pull request #2220 from hopToDev/master
Marc-André Moreau [Thu, 20 Nov 2014 21:14:22 +0000 (16:14 -0500)]
Merge pull request #2220 from hopToDev/master

Call redraw only when region is invalidated

9 years agomfreerdp: fix cliprdr copy with Windows XP
Marc-André Moreau [Thu, 20 Nov 2014 21:05:13 +0000 (16:05 -0500)]
mfreerdp: fix cliprdr copy with Windows XP

9 years agochannels/cliprdr: partially fix short format names
Marc-André Moreau [Thu, 20 Nov 2014 19:28:05 +0000 (14:28 -0500)]
channels/cliprdr: partially fix short format names

9 years agomfreerdp: fix thread stopping
Marc-André Moreau [Thu, 20 Nov 2014 17:34:49 +0000 (12:34 -0500)]
mfreerdp: fix thread stopping

9 years agolibwinpr-clipboard: improve robustness
Marc-André Moreau [Thu, 20 Nov 2014 17:08:01 +0000 (12:08 -0500)]
libwinpr-clipboard: improve robustness

9 years agoMerge branch 'master' of github.com:awakecoding/FreeRDP
Marc-André Moreau [Thu, 20 Nov 2014 16:51:18 +0000 (11:51 -0500)]
Merge branch 'master' of github.com:awakecoding/FreeRDP

Conflicts:
winpr/libwinpr/thread/thread.c

9 years agolibwinpr-thread: fix non-blocking internal pipe-based event on OS X
Marc-André Moreau [Thu, 20 Nov 2014 16:48:02 +0000 (11:48 -0500)]
libwinpr-thread: fix non-blocking internal pipe-based event on OS X

9 years agolibfreerdp-core: treat GCC data block 0xC009 as CS_MULTITRANSPORT
Marc-André Moreau [Thu, 20 Nov 2014 02:00:28 +0000 (21:00 -0500)]
libfreerdp-core: treat GCC data block 0xC009 as CS_MULTITRANSPORT

9 years agoCall redraw only when region is invalidated
Mehul Dhorda [Wed, 19 Nov 2014 19:48:12 +0000 (11:48 -0800)]
Call redraw only when region is invalidated

Added a condition to redraw a rect only when region is invalidated. For
example. this avoids a redraw when only the cursor changes on the
remote machine.

9 years agolibfreerdp-core: fix server-side activated state
Marc-André Moreau [Wed, 19 Nov 2014 19:21:23 +0000 (14:21 -0500)]
libfreerdp-core: fix server-side activated state

9 years agolibfreerdp-core: sanitize NSCodec capabilities
Marc-André Moreau [Wed, 19 Nov 2014 14:39:47 +0000 (09:39 -0500)]
libfreerdp-core: sanitize NSCodec capabilities

9 years agoMerge branch 'master' of github.com:FreeRDP/FreeRDP
Marc-André Moreau [Tue, 18 Nov 2014 19:21:55 +0000 (14:21 -0500)]
Merge branch 'master' of github.com:FreeRDP/FreeRDP

9 years agocmake: add WITH_FREERDS option
Marc-André Moreau [Mon, 17 Nov 2014 17:31:31 +0000 (12:31 -0500)]
cmake: add WITH_FREERDS option

9 years agoMerge pull request #2217 from Tarnyko/master
Marc-André Moreau [Mon, 17 Nov 2014 16:10:48 +0000 (11:10 -0500)]
Merge pull request #2217 from Tarnyko/master

wlfreerdp: reorganize source files, add input methods

9 years agowlfreerdp: fix minor error in command line printing
Manuel Bachmann [Mon, 17 Nov 2014 15:56:40 +0000 (16:56 +0100)]
wlfreerdp: fix minor error in command line printing

One argument was missing in status_print().

Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
9 years agowlfreerdp: reorganize source files, add input methods
Manuel Bachmann [Mon, 17 Nov 2014 15:36:28 +0000 (16:36 +0100)]
wlfreerdp: reorganize source files, add input methods

We split the one massive source file into multiple separate
source files and headers, just like it is done for other
clients.

We add a new "wlfInput" interface which will try to
initialize mouse and keyboard at startup. Mouse inputs
already work, keyboard inputs need further investigation.

Signed-off-by: Manuel Bachmann <tarnyko@tarnyko.net>
9 years agoMerge pull request #2213 from akallabeth/wlog_callback_appender
Marc-André Moreau [Mon, 17 Nov 2014 14:41:58 +0000 (09:41 -0500)]
Merge pull request #2213 from akallabeth/wlog_callback_appender

Wlog callback appender

9 years agoMerge pull request #2215 from nfedera/fix-2014-11-16-01
Marc-André Moreau [Mon, 17 Nov 2014 14:41:07 +0000 (09:41 -0500)]
Merge pull request #2215 from nfedera/fix-2014-11-16-01

xfreerdp: fix polyline

9 years agoMerge pull request #2216 from akallabeth/memleak_fix
Martin Fleisz [Mon, 17 Nov 2014 11:07:00 +0000 (12:07 +0100)]
Merge pull request #2216 from akallabeth/memleak_fix

Various bug fixes

9 years agoFixed mixed variable declaration.
Armin Novak [Mon, 17 Nov 2014 00:42:24 +0000 (01:42 +0100)]
Fixed mixed variable declaration.

9 years agoFixed header include.
Armin Novak [Mon, 17 Nov 2014 00:39:45 +0000 (01:39 +0100)]
Fixed header include.

9 years agoFixed null pointer dereference.
Armin Novak [Mon, 17 Nov 2014 00:26:31 +0000 (01:26 +0100)]
Fixed null pointer dereference.

9 years agoFixed null pointer dereference.
Armin Novak [Mon, 17 Nov 2014 00:23:54 +0000 (01:23 +0100)]
Fixed null pointer dereference.

9 years agoFixed null pointer dereference.
Armin Novak [Mon, 17 Nov 2014 00:22:33 +0000 (01:22 +0100)]
Fixed null pointer dereference.

9 years agoFixed null pointer dereference.
Armin Novak [Mon, 17 Nov 2014 00:20:46 +0000 (01:20 +0100)]
Fixed null pointer dereference.

9 years agoFixed null pointer dereference.
Armin Novak [Mon, 17 Nov 2014 00:19:40 +0000 (01:19 +0100)]
Fixed null pointer dereference.

9 years agoFixed memory leak.
Armin Novak [Mon, 17 Nov 2014 00:16:56 +0000 (01:16 +0100)]
Fixed memory leak.

9 years agoFixed double free.
Armin Novak [Mon, 17 Nov 2014 00:13:47 +0000 (01:13 +0100)]
Fixed double free.

9 years agoFixed memory leak.
Armin Novak [Mon, 17 Nov 2014 00:10:45 +0000 (01:10 +0100)]
Fixed memory leak.

9 years agoFixed memory leaks.
Armin Novak [Mon, 17 Nov 2014 00:08:38 +0000 (01:08 +0100)]
Fixed memory leaks.

9 years agoFixed memory leaks.
Armin Novak [Mon, 17 Nov 2014 00:07:07 +0000 (01:07 +0100)]
Fixed memory leaks.

9 years agoFixed memory leak.
Armin Novak [Mon, 17 Nov 2014 00:04:29 +0000 (01:04 +0100)]
Fixed memory leak.

9 years agoFixed memory leaks.
Armin Novak [Mon, 17 Nov 2014 00:00:55 +0000 (01:00 +0100)]
Fixed memory leaks.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:58:43 +0000 (00:58 +0100)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:56:56 +0000 (00:56 +0100)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:56:05 +0000 (00:56 +0100)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:55:25 +0000 (00:55 +0100)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:54:41 +0000 (00:54 +0100)]
Fixed memory leak.

9 years agoFixed null pointer dereference.
Armin Novak [Sun, 16 Nov 2014 23:50:15 +0000 (00:50 +0100)]
Fixed null pointer dereference.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:47:54 +0000 (00:47 +0100)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:44:22 +0000 (00:44 +0100)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:42:05 +0000 (00:42 +0100)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:41:06 +0000 (00:41 +0100)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:37:29 +0000 (00:37 +0100)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:36:50 +0000 (00:36 +0100)]
Fixed memory leak.

9 years agoFixed memory leaks.
Armin Novak [Sun, 16 Nov 2014 23:36:01 +0000 (00:36 +0100)]
Fixed memory leaks.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:34:17 +0000 (00:34 +0100)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:33:37 +0000 (00:33 +0100)]
Fixed memory leak.

9 years agoFixed memory leaks.
Armin Novak [Sun, 16 Nov 2014 23:28:17 +0000 (00:28 +0100)]
Fixed memory leaks.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:26:33 +0000 (00:26 +0100)]
Fixed memory leak.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:22:33 +0000 (00:22 +0100)]
Fixed memory leak.

9 years agoFixed nonnull warning.
Armin Novak [Sun, 16 Nov 2014 23:21:04 +0000 (00:21 +0100)]
Fixed nonnull warning.

9 years agoFixed missing argument.
Armin Novak [Sun, 16 Nov 2014 23:17:06 +0000 (00:17 +0100)]
Fixed missing argument.

9 years agoFixed memory leak
Armin Novak [Sun, 16 Nov 2014 23:13:50 +0000 (00:13 +0100)]
Fixed memory leak

9 years agoFixed memory leaks.
Armin Novak [Sun, 16 Nov 2014 23:09:50 +0000 (00:09 +0100)]
Fixed memory leaks.

9 years agoFixed memory leak.
Armin Novak [Sun, 16 Nov 2014 23:07:58 +0000 (00:07 +0100)]
Fixed memory leak.