Skip to content

Commit

Permalink
Merge pull request #37 from beetlebugorg/bugfix/imagemagick-init
Browse files Browse the repository at this point in the history
Fix Imagemagick init bug
  • Loading branch information
JC authored Apr 9, 2021
2 parents 6dadf2e + 3850b85 commit 4e32a5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AC_PREREQ(2.60)
AC_INIT(mod_dims, 3.3.24, [jeremy.collins@beetlebug.org])
AC_INIT(mod_dims, 3.3.25, [jeremy.collins@beetlebug.org])
AM_INIT_AUTOMAKE([no-define])
AC_CONFIG_SRCDIR([src/mod_dims.c])

Expand Down
3 changes: 2 additions & 1 deletion src/mod_dims.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
*/

#define MODULE_RELEASE "$Revision: $"
#define MODULE_VERSION "3.3.24"
#define MODULE_VERSION "3.3.25"

#include "mod_dims.h"
#include "util_md5.h"
Expand Down Expand Up @@ -1837,6 +1837,7 @@ dims_init(apr_pool_t *p, apr_pool_t *plog, apr_pool_t* ptemp, server_rec *s)

ap_add_version_component(p, "mod_dims/" MODULE_VERSION);

MagickWandGenesis();
MagickSetResourceLimit(AreaResource, config->area_size);
MagickSetResourceLimit(DiskResource, config->disk_size);
MagickSetResourceLimit(MemoryResource, config->memory_size);
Expand Down

0 comments on commit 4e32a5e

Please sign in to comment.